Sha256: 71219cae298fb0791e3c279e6ccb04bf96854a2eb459e1cbfcca785e27e050b4
Contents?: true
Size: 409 Bytes
Versions: 8
Compression:
Stored size: 409 Bytes
Contents
[:be_an_instance_of, :be_instance_of].each do |method| describe "Opal expect(actual).to #{method}(expected)" do it "provides a description" do matcher = be_an_instance_of(Fixnum) matcher.matches?(Numeric) # opal fixnum == numeric # expect(matcher.description).to eq "be an instance of Fixnum" expect(matcher.description).to eq "be an instance of Numeric" end end end
Version data entries
8 entries across 8 versions & 2 rubygems