We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e31a3 commit 0f162d3Copy full SHA for 0f162d3
features/generator_specs/feature_specs.feature
@@ -0,0 +1,21 @@
1
+Feature: Feature generator spec
2
+
3
+ Scenario: Feature generator
4
+ When I run `bundle exec rails generate rspec:feature posts`
5
+ Then the features should pass
6
+ Then the output should contain:
7
+ """
8
+ create spec/features/posts_spec.rb
9
10
11
+ Scenario: Feature generator with customized `default-path`
12
+ Given a file named ".rspec" with:
13
14
+ --default-path behaviour
15
16
+ And I run `bundle exec rails generate rspec:feature posts`
17
18
19
20
+ create behaviour/features/posts_spec.rb
21
0 commit comments