Sha256: 96c7b21920a8ba8274a00181400a5e7bba99432279488c6a207c65cfacbc405f
Contents?: true
Size: 720 Bytes
Versions: 4
Compression:
Stored size: 720 Bytes
Contents
require 'spec_helper' describe Freee::Amount do let(:client_id) { get_client_id } let(:secret_key) { get_secret_key } let(:token) { get_token } let(:amount) { Freee::Amount } before(:each) do Freee::Base.config(client_id, secret_key, token) end describe 'should can be able to create instance' do subject { amount.current_report } it { is_expected.not_to be_nil } it { is_expected.to be_instance_of(Freee::Response::Amount) } end describe 'should be get information of amount by current' do subject { amount.current_report } it { is_expected.to include('company_id') } it { is_expected.to include('start_date') } it { is_expected.to include('end_date') } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
freee-0.3.1 | spec/amount_spec.rb |
freee-0.3.0 | spec/amount_spec.rb |
freee-0.2.0 | spec/amount_spec.rb |
freee-0.1.0 | spec/amount_spec.rb |