spec/cukedep/cli/cmd-line_spec.rb in cukedep-0.0.1 vs spec/cukedep/cli/cmd-line_spec.rb in cukedep-0.0.3
- old
+ new
@@ -35,10 +35,10 @@
expect(subject.options).to be_empty
end
it 'should accept the dry-run option' do
expect { subject.parse!(['--dry-run']) }.not_to raise_error
- expect(subject.options).to eq({ :"dry-run" => true })
+ expect(subject.options).to eq({ :dryrun => true })
end
it 'should accept the setup option' do
expect { subject.parse!(['--setup']) }.not_to raise_error
expect(subject.options).to eq({ :setup => true })
\ No newline at end of file