spec/integration/sum_spec.rb in danica-2.2.1 vs spec/integration/sum_spec.rb in danica-2.3.0
- old
+ new
@@ -1,15 +1,15 @@
require 'spec_helper'
-describe 'integration of sum' do
+describe 'integration of addition' do
describe 'with negative and positivenegative (+/-) numbers' do
subject do
- Danica::Sum.new(
- Danica::Negative.new(1),
+ Danica::Operator::Addition.new(
+ Danica::Wrapper::Negative.new(1),
2,
- Danica::Negative.new(3),
+ Danica::Wrapper::Negative.new(3),
4,
- Danica::PositiveNegative.new(5)
+ Danica::Wrapper::PlusMinus.new(5)
)
end
describe '#to_gnu' do
it 'returns the correct string' do