spec/rest/client_spec.rb in finapps-2.2.16 vs spec/rest/client_spec.rb in finapps-2.2.17
- old
+ new
@@ -69,9 +69,13 @@
describe '#password_resets' do
it { expect(subject.operators).to be_an_instance_of(FinApps::REST::Operators) }
end
+ describe '#products' do
+ it { expect(subject.products).to be_an_instance_of(FinApps::REST::Products) }
+ end
+
FinApps::REST::Client::RESOURCES.each do |method|
it "memoizes the result of #{method}" do
first = subject.send(method)
second = subject.send(method)
expect(first.object_id).to eq(second.object_id)