* Removed Pixa/Tinami sources

* Upgraded to Rails 3.2.3
* Fixed tests
This commit is contained in:
albert
2012-06-01 19:22:58 -04:00
parent 105cba5963
commit 17881068e1
124 changed files with 1063 additions and 1214 deletions

View File

@@ -4,8 +4,8 @@ class UserPasswordResetNonceTest < ActiveSupport::TestCase
context "Creating a new nonce" do
context "with a valid email" do
setup do
@user = Factory.create(:user, :email => "aaa@b.net")
@nonce = Factory.create(:user_password_reset_nonce, :email => @user.email)
@user = FactoryGirl.create(:user, :email => "aaa@b.net")
@nonce = FactoryGirl.create(:user_password_reset_nonce, :email => @user.email)
end
should "validate" do
@@ -24,7 +24,7 @@ class UserPasswordResetNonceTest < ActiveSupport::TestCase
context "with a blank email" do
setup do
@user = Factory.create(:user, :email => "")
@user = FactoryGirl.create(:user, :email => "")
@nonce = UserPasswordResetNonce.new(:email => "")
end