fix rspec 3 compatibility issues missed by transpec
This commit is contained in:
parent
9b80027f9e
commit
f42bc1e549
|
@ -103,7 +103,7 @@ describe JPM::Catalog do
|
|||
expect(JPM).to receive(:fetch).with(plugin.url).and_return(response)
|
||||
expect(catalog).to receive(:save_plugin).and_return(true)
|
||||
|
||||
expect(installation).to be_true
|
||||
expect(installation).to be true
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ describe JPM do
|
|||
|
||||
context 'without Jenkins' do
|
||||
let(:home_dir) { nil }
|
||||
it { is_expected.to be_falsey }
|
||||
it { is_expected.to be false }
|
||||
end
|
||||
|
||||
context 'with Jenkins' do
|
||||
|
@ -102,6 +102,7 @@ describe JPM do
|
|||
context 'when plugins exist' do
|
||||
it 'should generate a list of plugins' do
|
||||
pending 'This is too hard to unit test, feh.'
|
||||
raise
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue