features/cli/error.feature in genomer-0.0.10 vs features/cli/error.feature in genomer-0.1.0
- old
+ new
@@ -4,9 +4,13 @@
And understand how to correct the errors
Scenario: Calling a non-specified genomer plugin
Given I run the genomer command with the arguments "init project"
And I cd to "project"
+ And I overwrite "Gemfile" with:
+ """
+ gem 'genomer', :path => '../../../'
+ """
When I run the genomer command with the arguments "simple"
Then the exit status should be 1
And the output should contain:
"""
Error. Unknown command or plugin 'simple.'