Sha256: 24915a174df3ecbdb6f2acadd18db5856d484313cf78a73a846d264c94ad3f9f

Contents?: true

Size: 602 Bytes

Versions: 66

Compression:

Stored size: 602 Bytes

Contents

require 'rspec/matchers'

if defined?($SHOW_MATCHERS)
  module RSpec::Shim
    def define(matcher_name, *args, &block)
      $SHOW_MATCHERS[matcher_name] = caller.first.split(':')[0..1]
      super
    end

    def matcher(matcher_name, *args, &block)
      $SHOW_MATCHERS[matcher_name] = caller.first.split(':')[0..1]
      super
    end
  end

  RSpec::Matchers.extend(RSpec::Shim)
end

require 'rspec/matchers/dsl'
require 'rspec-html-matchers'
require 'rspec-rails'
require 'rspec/rails'
require 'rspec/rails/matchers'

Dir[File.expand_path('../matchers/**/*.rb', __FILE__)].each { |f| require f }

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
curation_concerns-0.7.0 spec/matchers.rb
curation_concerns-0.6.0 spec/matchers.rb
curation_concerns-0.5.0 spec/matchers.rb
curation_concerns-0.4.0 spec/matchers.rb
curation_concerns-0.3.0 spec/matchers.rb
curation_concerns-0.2.0 spec/matchers.rb