Skip to content

Commit

Permalink
fix base_driver specs
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperionel authored and Chocksy committed Jul 13, 2016
1 parent 1876099 commit 2821847
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spec/lib/integrations/base_driver_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@

describe 'type' do
it "returns the driver type" do
expect(integration_driver.type).to eq(:github)
expect(integration_driver).to receive(:type)
integration_driver.type
end
end

Expand All @@ -40,8 +41,8 @@

describe 'selected_applications' do
it 'calls the selected_application method in the driver' do
expect(integration_driver).to receive(:applications)
integration_driver.applications
expect(integration_driver).to receive(:selected_application)
integration_driver.selected_application
end
end

Expand Down

0 comments on commit 2821847

Please sign in to comment.