spec/lib/danica/constant_spec.rb in danica-2.0.3 vs spec/lib/danica/constant_spec.rb in danica-2.0.4
- old
+ new
@@ -2,10 +2,11 @@
describe Danica::Constant do
subject { described_class.new(2.5, :M, :m) }
let(:other) { described_class.new(3, :N, :n) }
- it_behaves_like 'an object with + operation'
+ it_behaves_like 'an object that respond to basic_methods'
+ it_behaves_like 'an object with basic operation'
describe '#to_f' do
it 'has a value' do
expect(subject.to_f).to eq(2.5)
end