spec/unit/generators/cucumber_generator_spec.rb in howitzer-2.0.1 vs spec/unit/generators/cucumber_generator_spec.rb in howitzer-2.0.2

- old
+ new

@@ -33,11 +33,16 @@ name: '/features/support/transformers.rb', is_directory: false, size: template_file_size('cucumber', 'transformers.rb') }, { name: '/tasks', is_directory: true }, - { name: '/tasks/cucumber.rake', is_directory: false, size: template_file_size('cucumber', 'cucumber.rake') } + { name: '/tasks/cucumber.rake', is_directory: false, size: template_file_size('cucumber', 'cucumber.rake') }, + { + name: '/tasks/cuke_sniffer.rake', + is_directory: false, + size: template_file_size('cucumber', 'cuke_sniffer.rake') + } ] end it { is_expected.to eql(expected_result) } describe 'output' do let(:expected_output) do @@ -45,10 +50,11 @@ 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" + Added 'tasks/cucumber.rake' file + Added 'tasks/cuke_sniffer.rake' file\n" end subject { output.string } it { is_expected.to eql(expected_output) } end end