Skip to content

Commit 0236f93

Browse files
committed
Make scenarios less brittle
1 parent 4fbac13 commit 0236f93

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

features/generators/content_blocks_for_projects.feature

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,14 @@ Feature:
4242
And the file "config/routes.rb" should contain:
4343
"""
4444
Petstore::Application.routes.draw do
45-
namespace :cms do content_blocks :products end
46-
47-
mount_browsercms
45+
"""
46+
And the file "config/routes.rb" should contain:
47+
"""
48+
namespace :cms do content_blocks :products end
49+
"""
50+
And the file "config/routes.rb" should contain:
51+
"""
52+
mount_browsercms
4853
"""
4954

5055
Scenario: With Belongs To

0 commit comments

Comments
 (0)