Permalink
Browse files

Upgrade to RSpec 3.0

  • Loading branch information...
1 parent d9a1e93 commit 0db88a5d4f12fb44da59aa5326c3ee84f0ddd983 @stevenharman stevenharman committed Jun 16, 2014
Showing with 3 additions and 4 deletions.
  1. +1 −1 .rspec
  2. +1 −1 brewery_db.gemspec
  3. +1 −1 spec/brewery_db/mash_spec.rb
  4. +0 −1 spec/spec_helper.rb
View
2 .rspec
@@ -1,4 +1,4 @@
--color
--format progress
-
+--order rand
-r pry
View
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
gem.add_dependency 'hashie', '>= 1.1', '< 3'
gem.add_development_dependency 'dotenv', '~> 0.10'
gem.add_development_dependency 'pry'
- gem.add_development_dependency 'rspec', '~> 2.14'
+ gem.add_development_dependency 'rspec', '~> 3.0'
gem.add_development_dependency 'vcr', '~> 2.0'
gem.add_development_dependency 'rake', '~> 10.2'
@@ -1,7 +1,7 @@
require 'spec_helper'
describe BreweryDB::Mash do
- it { should be_a(Hashie::Mash) }
+ it { is_expected.to be_a(Hashie::Mash) }
context '#convert_key' do
it 'underscores camelcased keys' do
View
@@ -8,7 +8,6 @@
ENV['BREWERY_DB_API_KEY'] ||= '1c394d8947e4a5873920d2333c9e9364'
RSpec.configure do |config|
- config.treat_symbols_as_metadata_keys_with_true_values = true
config.run_all_when_everything_filtered = true
config.filter_run :focus
end

0 comments on commit 0db88a5

Please sign in to comment.