Skip to content

Commit 3b0ecb5

Browse files
JonRoweyujinakayama
authored andcommitted
remove skip statements from scaffold controller tests during smoke
1 parent 1b37ac6 commit 3b0ecb5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

example_app_generator/generate_stuff.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,9 @@ def using_source_path(path)
134134
'config.warnings = false'
135135
gsub_file '.rspec', '--warnings', ''
136136

137+
# Remove skips so we can test controller specs work
138+
gsub_file 'spec/controllers/gadgets_controller_spec.rb',
139+
'skip("Add a hash of attributes valid for your model")',
140+
'{}'
141+
137142
final_tasks

0 commit comments

Comments
 (0)