Skip to content

Commit

Permalink
Client.new_from_response testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ecoologic committed Aug 21, 2023
1 parent b792814 commit 55b69e5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions spec/core/data_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
require 'core/spec_helper'

RSpec.describe ZendeskAPI::Data do
describe ".new_from_response" do
let(:response) { double(:response) }

it "returns an instance with the response" do
expect(described_class.new_from_response(client, response))
.to be_instance_of(described_class)
end
end
end

0 comments on commit 55b69e5

Please sign in to comment.