Sha256: 46261791f34ecd63868f2903c7d5896068581546aa141561e273da7495376824
Contents?: true
Size: 671 Bytes
Versions: 2
Compression:
Stored size: 671 Bytes
Contents
require 'spec_helper' # This spec describes use of the :conditions option to Element.find # The implementation that this tests is Request#apply_options def run_test @sess.report('ProfitAndLossStandard', :conditions => { :report_date_range => [Date.parse("2007-08-01"), Date.parse("2007-08-31")]}, :report_basis => QBFC_CONST::RbAccrual) end # Setup use_open = true if use_open @sess = QBFC::Session.new else @integration = QBFC::Integration::reader @sess = @integration.session end begin puts run_test ensure if use_open @sess.close else @integration.close end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
jm81-qbfc-0.3.0 | spec/integration/quick_test.rb |
qbfc-0.3.0 | spec/integration/quick_test.rb |