Permalink
Browse files

use collection matcher gem

  • Loading branch information...
1 parent 002f371 commit f9b09db9ddc56f2434d0338667ef79391e770a64 @JonRowe JonRowe committed Sep 10, 2013
Showing with 3 additions and 1 deletion.
  1. +1 −1 Gemfile
  2. +1 −0 rspec-rails.gemspec
  3. +1 −0 spec/spec_helper.rb
View
@@ -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
View
@@ -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'
View
@@ -1,3 +1,4 @@
+require 'rspec/collection_matchers'
require 'rails/all'
module RSpecRails

0 comments on commit f9b09db

Please sign in to comment.