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