fix rspec 3 compatibility issues missed by transpec

This commit is contained in:
Joshua Hoblitt 2016-03-26 10:00:28 -07:00
parent 9b80027f9e
commit f42bc1e549
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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