Sha256: 9550ebcd13585a039deef824dc58451e3b12441af2b90d72f457f90e9f41e0fa

Contents?: true

Size: 610 Bytes

Versions: 57

Compression:

Stored size: 610 Bytes

Contents

describe Orange do
  it "should allow core mixin via mixin method" do
    c= Orange::Core.new
    c.should_not respond_to(:mixin_orange_one)
    Orange.mixin MockMixinOrange1
    c2= Orange::Core.new
    c.should respond_to(:mixin_orange_one)
    c2.should respond_to(:mixin_orange_one)
  end
  it "should allow pulp mixin via pulp method" do
    c= Orange::Core.new
    p= Orange::Packet.new(c, {})
    p.should_not respond_to(:pulp_orange_one)
    Orange.add_pulp MockPulpOrange1
    p2= Orange::Packet.new(c, {})
    p.should respond_to(:pulp_orange_one)
    p2.should respond_to(:pulp_orange_one)
  end
end

Version data entries

57 entries across 57 versions & 3 rubygems

Version Path
orange-more-0.7.3 spec/orange-core/orange_spec.rb
orange-more-0.7.2 spec/orange-core/orange_spec.rb
orange-more-0.7.1 spec/orange-core/orange_spec.rb
orange-more-0.6.5 spec/orange-core/orange_spec.rb
orange-more-0.6.4 spec/orange-core/orange_spec.rb
orange-more-0.6.3 spec/orange-core/orange_spec.rb
orange-more-0.6.2 spec/orange-core/orange_spec.rb
orange-more-0.6.0 spec/orange-core/orange_spec.rb
orange-core-0.6.0 spec/orange-core/orange_spec.rb
orange-more-0.5.8 spec/orange-core/orange_spec.rb
orange-core-0.5.9 spec/orange-core/orange_spec.rb
orange-core-0.5.8 spec/orange-core/orange_spec.rb
orange-more-0.5.7 spec/orange-core/orange_spec.rb
orange-core-0.5.5 spec/orange-core/orange_spec.rb
orange-core-0.5.3 spec/orange-core/orange_spec.rb
orange-0.5.5 spec/orange-core/orange_spec.rb
orange-0.5.4 spec/orange-core/orange_spec.rb
orange-0.5.3 spec/orange-core/orange_spec.rb
orange-0.5.2 spec/orange-core/orange_spec.rb
orange-0.5.1 spec/orange-core/orange_spec.rb