Sha256: 987cbd3a9406b00215ed4c4aabb218bb1776df9bacb0050e73731af6094ea8c6
Contents?: true
Size: 357 Bytes
Versions: 10
Compression:
Stored size: 357 Bytes
Contents
require 'teststrap' context "A matching assertion macro" do setup { Riot::Assertion.new("foo") { "abc" } } assertion_test_passes("when expression matches actual") { topic.matches(/abc/) } assertion_test_fails("when expression fails to match", "expected /abcd/ to match \"abc\"") do topic.matches(/abcd/) end end # A matching assertion macro
Version data entries
10 entries across 10 versions & 1 rubygems