Sha256: 6788933db230c34f386debca6d19ace57398b1f7a3a972571b3da1192f6f9fec
Contents?: true
Size: 456 Bytes
Versions: 2
Compression:
Stored size: 456 Bytes
Contents
require 'spec_helper' describe Paymo::API do it 'returns a result when getting' do VCR.use_cassette('auth') do result = Paymo::API.post :auth, :login, username: 'james@jamesduncombe.com', password: ENV['PAYMO_PASS'] result['status'].should eq 'ok' end end describe '#self.methodize' do it 'returns a camerlized string' do Paymo::API.methodize(:entries, :get_project).should eq 'entries.getProject' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
paymo-0.0.2 | spec/lib/paymo/api_spec.rb |
paymo-0.0.1 | spec/lib/paymo/api_spec.rb |