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 5c30c15 commit 6b83845Copy full SHA for 6b83845
features/generator_specs/job_specs.feature
@@ -0,0 +1,25 @@
1
+Feature: Job generator spec
2
+
3
+ Scenario: Job generator
4
+ When I run `bundle exec rails generate job user`
5
+ Then the features should pass
6
+ Then the output should contain:
7
+ """
8
+ invoke rspec
9
+ create spec/jobs/user_job_spec.rb
10
+ create app/jobs/user_job.rb
11
12
13
+ Scenario: Job generator with customized `default-path`
14
+ Given a file named ".rspec" with:
15
16
+ --default-path behaviour
17
18
+ And I run `bundle exec rails generate job user`
19
20
21
22
23
+ create behaviour/jobs/user_job_spec.rb
24
25
0 commit comments