spec/riif/dsl/terms_spec.rb in riif-0.0.1 vs spec/riif/dsl/terms_spec.rb in riif-0.1.0

- old
+ new

@@ -2,20 +2,22 @@ describe Riif::DSL::Terms do let(:expected) { File.read('spec/fixtures/terms.iif') } let(:terms) { - Riif::IIF.new.terms do - row do - name 'terms 1' - duedays 10 - discper 0.3 - discdays 1 - termstype 0 + Riif::IIF.new do + terms do + row do + name 'terms 1' + duedays 10 + discper 0.3 + discdays 1 + termstype 0 + end end end } subject { terms } - it { should eq expected } + its(:output) { should eq expected } end