diff --git a/spec/nylas/resources/messages_spec.rb b/spec/nylas/resources/messages_spec.rb index 7d731899..ca8e4b5f 100644 --- a/spec/nylas/resources/messages_spec.rb +++ b/spec/nylas/resources/messages_spec.rb @@ -69,7 +69,7 @@ query_params = { fields: "include_headers" } path = "#{api_uri}/v3/grants/#{identifier}/messages/#{message_id}" allow(messages).to receive(:get) - .with(path: path, message_id: message_id, query_params: query_params) + .with(path: path, query_params: query_params) .and_return(response) message_response = messages.find(identifier: identifier, message_id: message_id, query_params: query_params)