Sha256: 128debf0eac9e850db007a47741e6c2d089836cc05e17dd1bd6d63ae8b6d177c

Contents?: true

Size: 273 Bytes

Versions: 54

Compression:

Stored size: 273 Bytes

Contents

describe :set_add, :shared => true do
  before :each do
    @set = Set.new
  end

  it "adds the passed Object to self" do
    @set.send(@method, "dog")
    @set.should include("dog")
  end

  it "returns self" do
    @set.send(@method, "dog").should equal(@set)
  end
end

Version data entries

54 entries across 54 versions & 3 rubygems

Version Path
rhodes-7.6.0 spec/framework_spec/app/spec/library/set/shared/add.rb
rhodes-7.5.1 spec/framework_spec/app/spec/library/set/shared/add.rb
rhodes-7.4.1 spec/framework_spec/app/spec/library/set/shared/add.rb
rhodes-7.1.17 spec/framework_spec/app/spec/library/set/shared/add.rb
rhodes-6.2.0 spec/framework_spec/app/spec/library/set/shared/add.rb
rhodes-6.0.11 spec/framework_spec/app/spec/library/set/shared/add.rb
rhodes-5.5.18 spec/framework_spec/app/spec/library/set/shared/add.rb
rhodes-5.5.17 spec/framework_spec/app/spec/library/set/shared/add.rb
rhodes-5.5.15 spec/framework_spec/app/spec/library/set/shared/add.rb
rhodes-5.5.0.22 spec/framework_spec/app/spec/library/set/shared/add.rb
rhodes-5.5.2 spec/framework_spec/app/spec/library/set/shared/add.rb
rhodes-5.5.0.7 spec/framework_spec/app/spec/library/set/shared/add.rb
rhodes-5.5.0.3 spec/framework_spec/app/spec/library/set/shared/add.rb
rhodes-5.5.0 spec/framework_spec/app/spec/library/set/shared/add.rb
tauplatform-1.0.3 spec/framework_spec/app/spec/library/set/shared/add.rb
tauplatform-1.0.2 spec/framework_spec/app/spec/library/set/shared/add.rb
tauplatform-1.0.1 spec/framework_spec/app/spec/library/set/shared/add.rb
rubysl-set-1.0.0 spec/shared/add.rb
rubysl-set-2.0.1 spec/shared/add.rb
rhodes-3.5.1.12 spec/framework_spec/app/spec/library/set/shared/add.rb