mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 11:10:12 +01:00
Fix a test assertion throwing an error under Ruby 2.0.0
This commit is contained in:
parent
11c5f988db
commit
bb5b71bddc
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue