class RSpec::Matchers::BuiltIn::ChangeFromValue

Public Instance Methods

not_to_now(matcher) click to toggle source
# File lib/rspec/change_to_now.rb, line 83
def not_to_now(matcher)
  RSpec::Matchers::BuiltIn::ChangeToValue.new(
    @change_details,
    negate(matcher_only(matcher))
  ).from(@expected_before)
end
to_now(matcher) click to toggle source
# File lib/rspec/change_to_now.rb, line 76
def to_now(matcher)
  RSpec::Matchers::BuiltIn::ChangeToValue.new(
    @change_details,
    matcher_only(matcher)
  ).from(@expected_before)
end
with_final_result(expected) click to toggle source
# File lib/rspec/change_to_now.rb, line 90
def with_final_result(expected)
  to_without_to_now(expected)
end