Skip to content

Commit 5bfa9ab

Browse files
committed
fixup! remove skip statements from scaffold controller tests during smoke
1 parent 498dcec commit 5bfa9ab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

example_app_generator/generate_stuff.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ def using_source_path(path)
135135
gsub_file '.rspec', '--warnings', ''
136136

137137
# Remove skips so we can test controller specs work
138-
gsub_file 'spec/controllers/wombats_controller_spec.rb', /skip\(.*\)$/, ''
138+
gsub_file 'spec/controllers/gadgets_controller_spec.rb',
139+
'skip("Add a hash of attributes valid for your model")',
140+
'{}'
139141

140142
final_tasks

0 commit comments

Comments
 (0)