module CmQuiz::ReviewHelper

Public Instance Methods

be() click to toggle source
# File lib/cm_quiz/review_helper.rb, line 13
def be
  RSpec::Matchers::BuiltIn::Be.new
end
be_nil() click to toggle source
# File lib/cm_quiz/review_helper.rb, line 17
def be_nil
  RSpec::Matchers::BuiltIn::BeNil.new
end
be_within(delta) click to toggle source
# File lib/cm_quiz/review_helper.rb, line 21
def be_within(delta)
  RSpec::Matchers::BuiltIn::BeWithin.new(delta)
end
eq(obj) click to toggle source
# File lib/cm_quiz/review_helper.rb, line 9
def eq(obj)
  RSpec::Matchers::BuiltIn::Eq.new(obj)
end
expect(target) click to toggle source
# File lib/cm_quiz/review_helper.rb, line 5
def expect(target)
  RSpec::Expectations::ExpectationTarget.new(target)
end