spec/unit/axiom/relation/operation/binary/class_methods/included_spec.rb in axiom-0.1.1 vs spec/unit/axiom/relation/operation/binary/class_methods/included_spec.rb in axiom-0.2.0

- old
+ new

@@ -7,12 +7,12 @@ let(:object) { described_class } let(:klass) { Class.new } it 'extends the klass' do - klass.singleton_class.should_not include(described_class::ClassMethods) + expect(klass.singleton_class).not_to include(described_class::ClassMethods) klass.send(:include, subject) - klass.singleton_class.should include(described_class::ClassMethods) + expect(klass.singleton_class).to include(described_class::ClassMethods) end it 'delegates to the ancestor' do included_ancestor = false mod = Module.new do