File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ Feature : Mailbox generator spec
2
+
3
+ Scenario : Mailbox generator
4
+ When I run `bundle exec rails generate mailbox forwards`
5
+ Then the features should pass
6
+ Then the output should contain:
7
+ """
8
+ create app/mailboxes/forwards_mailbox.rb
9
+ invoke rspec
10
+ create spec/mailboxes/forwards_mailbox_spec.rb
11
+ """
12
+
13
+ Scenario : Mailbox 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 mailbox forwards`
19
+ Then the features should pass
20
+ Then the output should contain:
21
+ """
22
+ create app/mailboxes/forwards_mailbox.rb
23
+ invoke rspec
24
+ create behaviour/mailboxes/forwards_mailbox_spec.rb
25
+ """
You can’t perform that action at this time.
0 commit comments