spec/unit/axiom/attribute/class_methods/new_spec.rb in axiom-0.1.1 vs spec/unit/axiom/attribute/class_methods/new_spec.rb in axiom-0.2.0
- old
+ new
@@ -23,10 +23,10 @@
].each do |described_class|
context "when called on the Attribute subclass #{described_class}" do
let(:object) { described_class }
it 'does not freeze the options' do
- options.should_not be_frozen
+ expect(options).not_to be_frozen
expect { subject }.to_not change(options, :frozen?)
end
it { should be_instance_of(object) }
end