Skip to content

Commit

Permalink
updating deprecated rspec methods: be_true, be_false
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Stephens committed Aug 21, 2014
1 parent d35c6a4 commit e3892c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/yelp/configuration_spec.rb
Expand Up @@ -23,22 +23,22 @@
subject { configuration.valid? }

context "when keys are valid" do
it { should be_true }
it { should be true }
end

context "when keys are not set" do
let(:api_keys) { Hash.new }
it { should be_false }
it { should be false }
end

context "when a key is an empty string" do
let(:api_keys) { valid_api_keys.merge(consumer_key: '') }
it { should be_false }
it { should be false }
end

context "when a key is nil" do
let(:api_keys) { valid_api_keys.merge(token: nil) }
it { should be_false }
it { should be false }
end
end
end

0 comments on commit e3892c3

Please sign in to comment.