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