Sha256: 5340dea28407afdd3e02e6332821ae43d93403223eb98878008a0ba58b34dd96

Contents?: true

Size: 375 Bytes

Versions: 3

Compression:

Stored size: 375 Bytes

Contents

require 'spec_helper'

describe QbIif::DSL::Todo do
  let(:expected) { File.read('spec/fixtures/todo.iif') }

  let(:todo) {
    QbIif::IIF.new do
      todo do
        row do
          refnum '1234234'
          isdone 'Y'
          date   '7/11/2013'
          desc   'Pickup'
        end
      end
    end
  }

  subject { todo }

  its(:output) { should eq expected }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
qb_iif-0.1.2 spec/qb_iif/dsl/todo_spec.rb
qb_iif-0.1.1 spec/qb_iif/dsl/todo_spec.rb
qb_iif-0.1.0 spec/qb_iif/dsl/todo_spec.rb