spec/support/shared_examples/operator/chained.rb in danica-2.2.1 vs spec/support/shared_examples/operator/chained.rb in danica-2.3.0
- old
+ new
@@ -13,10 +13,10 @@
end
let(:numeric_variables){ (1..4).to_a }
subject { described_class.new(*variables) }
describe 'to_f' do
- it 'returns the sum of variables value' do
+ it 'returns the addition of variables value' do
expect(subject.to_f).to eq(calculated)
end
it do
expect(subject.to_f).to be_a(Float)