Sha256: b40c1d1c430f99fa07d814301c546d4a30ea19dbb35de3785873f526163eb961

Contents?: true

Size: 300 Bytes

Versions: 3

Compression:

Stored size: 300 Bytes

Contents

require 'spec_helper'

describe Bogus::Anything do
  it "is equal to everything" do
    anything = Bogus::Anything

    expect(anything).to eq("foo")
    expect(anything).to eq("bar")
    expect(anything).to eq(1)
    expect(anything).to eq(Object.new)
    expect(anything).to eq(anything)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bogus-0.1.7 spec/bogus/stubbing/anything_spec.rb
bogus-0.1.6 spec/bogus/stubbing/anything_spec.rb
bogus-0.1.5 spec/bogus/stubbing/anything_spec.rb