spec/rest/client_spec.rb in finapps-2.3.2 vs spec/rest/client_spec.rb in finapps-2.3.3

- old
+ new

@@ -96,9 +96,13 @@ describe '#products' do it { expect(subject.products).to be_an_instance_of(FinApps::REST::Products) } end + describe '#statements' do + it { expect(subject.statements).to be_an_instance_of(FinApps::REST::Statements) } + 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)