diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb index bacb95e8..4271ad6f 100644 --- a/test/functional/users_controller_test.rb +++ b/test/functional/users_controller_test.rb @@ -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