Fix a test assertion throwing an error under Ruby 2.0.0

This commit is contained in:
Dan Rice 2013-03-19 16:28:24 -04:00
parent 11c5f988db
commit bb5b71bddc

View file

@ -90,7 +90,7 @@ class UsersControllerTest < ActionController::TestCase
def test_with_no_users
User.expects(:no_users_yet?).returns(true)
get :new
assert_match assigns['heading'], /get started/
assert_match /get started/, assigns['heading']
assert_not_nil assigns[:user]
end