spec/unit/generators/cucumber_generator_spec.rb in howitzer-2.0.0 vs spec/unit/generators/cucumber_generator_spec.rb in howitzer-2.0.1
- old
+ new
@@ -26,10 +26,11 @@
is_directory: false,
size: template_file_size('cucumber', 'common_steps.rb')
},
{ name: '/features/support', is_directory: true },
{ name: '/features/support/env.rb', is_directory: false, size: template_file_size('cucumber', 'env.rb') },
+ { name: '/features/support/hooks.rb', is_directory: false, size: template_file_size('cucumber', 'hooks.rb') },
{
name: '/features/support/transformers.rb',
is_directory: false,
size: template_file_size('cucumber', 'transformers.rb')
},
@@ -41,9 +42,10 @@
describe 'output' do
let(:expected_output) do
" * Cucumber integration to the framework ...
Added 'features/step_definitions/common_steps.rb' file
Added 'features/support/env.rb' file
+ Added 'features/support/hooks.rb' file
Added 'features/support/transformers.rb' file
Added 'features/example.feature' file
Added 'tasks/cucumber.rake' file\n"
end
subject { output.string }