Sha256: a58a950e4bc8a92f6a13f5267fcf22470c3b48f14f89be058f1de57e3b694567
Contents?: true
Size: 545 Bytes
Versions: 9
Compression:
Stored size: 545 Bytes
Contents
require 'rspec/expectations' if RSpec::Expectations::Version::STRING < '3' { :match_when_negated => :match_for_should_not, :failure_message => :failure_message_for_should, :failure_message_when_negated => :failure_message_for_should_not }.each do |rspec3_method, rspec2_method| RSpec::Matchers::DSL::Matcher.send :alias_method, rspec3_method, rspec2_method end module RSpec2CoreMemoizedHelpers def is_expected expect(subject) end end RSpec::Core::MemoizedHelpers.extend RSpec2CoreMemoizedHelpers end
Version data entries
9 entries across 9 versions & 1 rubygems