spec/rest/orders_spec.rb in finapps-2.0.12 vs spec/rest/orders_spec.rb in finapps-2.0.13

- old
+ new

@@ -1,8 +1,8 @@ # frozen_string_literal: true RSpec.describe FinApps::REST::Orders do describe '#show' do - let(:client) { FinApps::REST::Client.new :company_identifier, :company_token } + let(:client) { FinApps::REST::Client.new(:company_identifier, :company_token) } context 'when missing params' do subject { FinApps::REST::Orders.new(client).show(nil) } it { expect { subject }.to raise_error(FinApps::MissingArgumentsError) } end