Skip to content

Commit

Permalink
Merge pull request #823 from rspec/use_collection_matcher_gem
Browse files Browse the repository at this point in the history
Use the rspec-collection_matcher gem in our specs.
  • Loading branch information
JonRowe committed Sep 10, 2013
2 parents 002f371 + f9b09db commit e2e2ffa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -2,7 +2,7 @@ source "https://rubygems.org"

gemspec

%w[rspec rspec-core rspec-expectations rspec-mocks].each do |lib|
%w[rspec rspec-core rspec-expectations rspec-mocks rspec-collection_matchers].each do |lib|
library_path = File.expand_path("../../#{lib}", __FILE__)
if File.exist?(library_path)
gem lib, :path => library_path
Expand Down
1 change: 1 addition & 0 deletions rspec-rails.gemspec
Expand Up @@ -32,6 +32,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency "rspec-#{name}", "~> #{RSpec::Rails::Version::STRING.split('.')[0..1].concat(['0']).join('.')}"
end
end
s.add_runtime_dependency "rspec-collection_matchers"

s.add_development_dependency 'rake', '~> 10.0.0'
s.add_development_dependency 'cucumber', '~> 1.3.5'
Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
@@ -1,3 +1,4 @@
require 'rspec/collection_matchers'
require 'rails/all'

module RSpecRails
Expand Down

0 comments on commit e2e2ffa

Please sign in to comment.