spec/firebrew/firefox/extension_spec.rb in firebrew-0.1.3 vs spec/firebrew/firefox/extension_spec.rb in firebrew-0.2.0
- old
+ new
@@ -82,10 +82,10 @@
is_expected.to eq(self.extensions[1])
end
context 'when the extension corresponding to the `name` not existed' do
let(:name){'hoge'}
- it { expect{subject}.to raise_error(Firebrew::ExtensionNotFoundError) }
+ it { expect{subject}.to raise_error(Firebrew::ExtensionNotFoundError, 'Extension not found: hoge') }
end
end
describe '#install(extension)' do
subject { self.instance.install(self.extension) }