Skip to content

Commit

Permalink
Update client spec
Browse files Browse the repository at this point in the history
  • Loading branch information
maprules1000 committed Aug 24, 2018
1 parent cf364b3 commit d4db432
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/lib/percy/capybara/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
expect(Percy::Capybara::Client.new.enabled?).to eq(false)
end

it 'raises error if PERCY_TOKEN is set but PERCY_PROJECT is not' do
ENV.delete 'PERCY_PROJECT'
expect { Percy::Capybara::Client.new.enabled? }.to raise_error(RuntimeError)
it 'is false if PERCY_TOKEN is not set' do
ENV.delete 'PERCY_TOKEN'
expect(Percy::Capybara::Client.new.enabled?).to eq(false)
end
end

Expand Down

0 comments on commit d4db432

Please sign in to comment.