Sha256: 0fe441bd1a50e4af283f2653f7966d85b3c3051f8f2a2c6d038122d0e31cac5c
Contents?: true
Size: 468 Bytes
Versions: 52
Compression:
Stored size: 468 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + "/../../../example_helper") describe Micronaut::Expectations do describe "#fail_with" do it "should handle just a message" do lambda { Micronaut::Expectations.fail_with "the message" }.should fail_with("the message") end it "should handle an Array" do lambda { Micronaut::Expectations.fail_with ["the message","expected","actual"] }.should fail_with("the message") end end end
Version data entries
52 entries across 52 versions & 3 rubygems