aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-01-29 18:52:01 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-01-29 18:52:01 +1100
commit20c20a5e403f04dd4aa221a323e8b9ed3967dc52 (patch)
treee28f175649ae3a06562a11a1874073238e79f9b8 /spec/controllers
parent49045c68f845c60110c5795c5b793653abcf3489 (diff)
errors returns an array now
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/user_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/user_controller_spec.rb b/spec/controllers/user_controller_spec.rb
index 9a446e704..4033bf0b6 100644
--- a/spec/controllers/user_controller_spec.rb
+++ b/spec/controllers/user_controller_spec.rb
@@ -230,7 +230,7 @@ describe UserController, "when signing up" do
post :signup, { :user_signup => { :email => 'new@localhost', :name => 'New Person',
:password => 'sillypassword', :password_confirmation => 'sillypasswordtwo' }
}
- assigns[:user_signup].errors[:password].should == 'Please enter the same password twice'
+ assigns[:user_signup].errors[:password].should == ['Please enter the same password twice']
end
it "should be an error to sign up with a misformatted email" do