spec/rest/tickets_spec.rb in freshdesk_apiclient-0.1.4 vs spec/rest/tickets_spec.rb in freshdesk_apiclient-0.1.5
- old
+ new
@@ -2,9 +2,9 @@
require_relative 'resources_spec' unless defined?(FreshdeskApiclient::REST::Resources)
require_relative '../../lib/freshdesk_apiclient/rest/resources' unless defined?(FreshdeskApiclient::REST::Resources)
require_relative '../../lib/freshdesk_apiclient/rest/tickets' unless defined?(FreshdeskApiclient::REST::Tickets)
describe FreshdeskApiclient::REST::Tickets do
- subject { FreshdeskApiclient::REST::Tickets.new(:url, credentials: {username: :u, password: :p}) }
+ subject { FreshdeskApiclient::REST::Tickets.new(:url, credentials: {user: :u, password: :p}) }
it_behaves_like 'a resource'
end