spec/lib/danica/variable_spec.rb in danica-2.0.3 vs spec/lib/danica/variable_spec.rb in danica-2.0.4
- old
+ new
@@ -1,8 +1,10 @@
require 'spec_helper'
describe Danica::Variable do
- it_behaves_like 'an object with + operation' do
+ it_behaves_like 'an object that respond to basic_methods'
+
+ it_behaves_like 'an object with basic operation' do
subject { described_class.new(value: 100) }
end
describe '#to_f' do
context 'when variable has no value' do