spec/keen/client/maintenance_methods_spec.rb in keen-0.7.4 vs spec/keen/client/maintenance_methods_spec.rb in keen-0.7.5

- old
+ new

@@ -8,10 +8,10 @@ let(:client) { Keen::Client.new( :project_id => project_id, :master_key => master_key, :api_url => api_url ) } def delete_url(event_collection, filter_params=nil) - "#{api_url}/#{api_version}/projects/#{project_id}/events/#{event_collection}#{filter_params ? "?filters=#{URI.escape(MultiJson.encode(filter_params[:filters]))}" : ""}" + "#{api_url}/#{api_version}/projects/#{project_id}/events/#{event_collection}#{filter_params ? "?filters=#{CGI.escape(MultiJson.encode(filter_params[:filters]))}" : ""}" end describe '#delete' do let(:event_collection) { :foodstuffs }