Skip to content

Commit 41ea917

Browse files
committed
Fix features on Rails 7
1 parent e4b73c5 commit 41ea917

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

features/generator_specs/channel_specs.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Feature: Channel generator spec
77
"""
88
invoke rspec
99
create spec/channels/group_channel_spec.rb
10+
"""
11+
Then the output should contain:
12+
"""
1013
create app/channels/group_channel.rb
11-
identical app/javascript/channels/index.js
12-
identical app/javascript/channels/consumer.js
13-
create app/javascript/channels/group_channel.js
1414
"""
1515

1616
Scenario: Channel generator with customized `default-path`
@@ -24,8 +24,8 @@ Feature: Channel generator spec
2424
"""
2525
invoke rspec
2626
create behaviour/channels/group_channel_spec.rb
27+
"""
28+
Then the output should contain:
29+
"""
2730
create app/channels/group_channel.rb
28-
identical app/javascript/channels/index.js
29-
identical app/javascript/channels/consumer.js
30-
create app/javascript/channels/group_channel.js
3131
"""

features/generator_specs/controller_specs.feature

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ Feature: Controller generator spec
1414
create app/helpers/posts_helper.rb
1515
invoke rspec
1616
create spec/helpers/posts_helper_spec.rb
17-
invoke assets
18-
invoke css
19-
create app/assets/stylesheets/posts.css
2017
"""
2118

2219
Scenario: Controller generator with customized `default-path`
@@ -37,7 +34,4 @@ Feature: Controller generator spec
3734
create app/helpers/posts_helper.rb
3835
invoke rspec
3936
create behaviour/helpers/posts_helper_spec.rb
40-
invoke assets
41-
invoke css
42-
create app/assets/stylesheets/posts.css
4337
"""

0 commit comments

Comments
 (0)