Fix generator tests
In my machine the output is different
This commit is contained in:
parent
35867c0bee
commit
b67197ee30
@ -37,7 +37,7 @@ def test_generator_suggestions
|
||||
def test_generator_multiple_suggestions
|
||||
name = :tas
|
||||
output = capture(:stdout){ Rails::Generators.invoke name }
|
||||
assert_match "Maybe you meant 'task', 'job' or 'assets'", output
|
||||
assert_match "Maybe you meant 'task', 'job' or", output
|
||||
end
|
||||
|
||||
def test_help_when_a_generator_with_required_arguments_is_invoked_without_arguments
|
||||
|
Loading…
Reference in New Issue
Block a user