Sha256: a4413a8a84eb9b536da707f61978937b46e86cd95abe37790fcd6edc1923f6d3

Contents?: true

Size: 601 Bytes

Versions: 11

Compression:

Stored size: 601 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

11 entries across 11 versions & 3 rubygems

Version Path
curation_concerns-0.1.0 spec/matchers.rb
worthwhile-0.1.2 spec/matchers.rb
worthwhile-0.1.1 spec/matchers.rb
worthwhile-0.1.0 spec/matchers.rb
worthwhile-0.0.3 spec/matchers.rb
worthwhile-0.0.2 spec/matchers.rb
worthwhile-0.0.1 spec/matchers.rb
curate-0.6.6 spec/matchers.rb
curate-0.6.5 spec/matchers.rb
curate-0.6.4 spec/matchers.rb
curate-0.6.3 spec/matchers.rb