spec/rest/client_spec.rb in finapps-6.9.0 vs spec/rest/client_spec.rb in finapps-6.9.1
- old
+ new
@@ -10,10 +10,11 @@
end
context 'with an instance of Client' do
subject(:client) { described_class.new(:company_token) }
- FinApps::REST::Client::RESOURCES.each do |method|
+ (FinApps::REST::Client::RESOURCES +
+ FinApps::REST::Client::QUERY_RESOURCES).each do |method|
it("responds to #{method}") { expect(client).to respond_to(method) }
it "memoizes the result of #{method}" do
first = client.send(method)
second = client.send(method)