spec/rest/client_spec.rb in finapps-3.0.7 vs spec/rest/client_spec.rb in finapps-4.0.1

- old
+ new

@@ -100,9 +100,17 @@ describe '#statements' do it { expect(subject.statements).to be_an_instance_of(FinApps::REST::Statements) } end + describe '#tenant_settings' do + it { expect(subject.tenant_settings).to be_an_instance_of(FinApps::REST::TenantSettings) } + end + + describe '#tenant_app_settings' do + it { expect(subject.tenant_app_settings).to be_an_instance_of(FinApps::REST::TenantAppSettings) } + 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)