Sha256: a81e87abaa1adb10165035d4bf5522e35ef5b1b458d704c67a81770efa24ffc3
Contents?: true
Size: 261 Bytes
Versions: 1
Compression:
Stored size: 261 Bytes
Contents
::RSpec::Matchers.define :be_a_valid_doctest do |expected| match do |actual| actual.code_evaluation == actual.result_evaluation end failure_message do |actual| "expected #{actual.code_evaluation} to equal #{actual.result_evaluation}" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
doctest-rspec-0.0.3 | lib/doctest/rspec/be_a_valid_doctest.rb |