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 ddf3486 commit 76ac69bCopy full SHA for 76ac69b
features/generator_specs/system_specs.feature
@@ -0,0 +1,21 @@
1
+Feature: System generator spec
2
+
3
+ Scenario: System generator
4
+ When I run `bundle exec rails generate rspec:system posts`
5
+ Then the features should pass
6
+ Then the output should contain:
7
+ """
8
+ create spec/system/posts_spec.rb
9
10
11
+ Scenario: System 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:system posts`
17
18
19
20
+ create behaviour/system/posts_spec.rb
21
0 commit comments