spec/emites/resources/webhook_spec.rb in emites-client-0.1.1 vs spec/emites/resources/webhook_spec.rb in emites-client-0.1.2

- old
+ new

@@ -20,11 +20,11 @@ describe "#list" do it "returns an array of Webhooks" do VCR.use_cassette("webhooks/list/success") do webhooks = subject.list - expect(webhooks).to be_a(Array) + expect(webhooks).to be_a(Emites::Entities::Collection) webhooks.each do |e| expect(e).to be_a(entity_klass) end end end @@ -57,6 +57,6 @@ expect(webhook.name).to eq(params[:name]) end end end -end \ No newline at end of file +end