Sha256: 2ae9e0d393da7316927eef5b48a860f07ad13940bd82d845d433cd57b72623a8
Contents?: true
Size: 553 Bytes
Versions: 2
Compression:
Stored size: 553 Bytes
Contents
require 'spec_helper' describe Paymo::Projects do before(:all) do VCR.use_cassette('auth') do Paymo::Base.new(username: 'james@jamesduncombe.com', password: ENV['PAYMO_PASS']) end end it 'returns a report' do start_time = Time.new(2013, 5, 1) end_time = Time.now clients = '374101' VCR.use_cassette('reports.create', record: :new_episodes) do result = Paymo::Reports.new.create(clients: clients, start: start_time, end: end_time, include_entries: '1') result['status'].should eq 'ok' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
paymo-0.0.2 | spec/lib/paymo/resources/reports_spec.rb |
paymo-0.0.1 | spec/lib/paymo/resources/reports_spec.rb |