Skip to content

Commit e2e2ffa

Browse files
committed
Merge pull request #823 from rspec/use_collection_matcher_gem
Use the rspec-collection_matcher gem in our specs.
2 parents 002f371 + f9b09db commit e2e2ffa

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ source "https://rubygems.org"
22

33
gemspec
44

5-
%w[rspec rspec-core rspec-expectations rspec-mocks].each do |lib|
5+
%w[rspec rspec-core rspec-expectations rspec-mocks rspec-collection_matchers].each do |lib|
66
library_path = File.expand_path("../../#{lib}", __FILE__)
77
if File.exist?(library_path)
88
gem lib, :path => library_path

rspec-rails.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Gem::Specification.new do |s|
3232
s.add_runtime_dependency "rspec-#{name}", "~> #{RSpec::Rails::Version::STRING.split('.')[0..1].concat(['0']).join('.')}"
3333
end
3434
end
35+
s.add_runtime_dependency "rspec-collection_matchers"
3536

3637
s.add_development_dependency 'rake', '~> 10.0.0'
3738
s.add_development_dependency 'cucumber', '~> 1.3.5'

spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
require 'rspec/collection_matchers'
12
require 'rails/all'
23

34
module RSpecRails

0 commit comments

Comments
 (0)