spec/lib/myfinance/client_spec.rb in myfinance-0.5.0 vs spec/lib/myfinance/client_spec.rb in myfinance-0.6.0
- old
+ new
@@ -98,6 +98,20 @@
it "instantiates a new Myfinance::Resources::Person" do
expect(Myfinance::Resources::Person).to receive(:new).with(subject.http)
subject.people
end
end
+
+ describe "#webhooks" do
+ it "instantiates a new Myfinance::Resources::Webhook" do
+ expect(Myfinance::Resources::Webhook).to receive(:new).with(subject.http)
+ subject.webhooks
+ end
+ end
+
+ describe "#taxes" do
+ it "instantiates a new Myfinance::Resources::Tax" do
+ expect(Myfinance::Resources::Tax).to receive(:new).with(subject.http)
+ subject.taxes
+ end
+ end
end