From 3208d416aabf16c10a58e8082deead2c8cfb5819 Mon Sep 17 00:00:00 2001 From: Linmiao Xu Date: Sun, 29 Nov 2015 18:25:58 -0800 Subject: [PATCH] Fix typos in cookie spec descriptions --- spec/httparty/request_spec.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/httparty/request_spec.rb b/spec/httparty/request_spec.rb index 7af0c4b..e07f6c2 100644 --- a/spec/httparty/request_spec.rb +++ b/spec/httparty/request_spec.rb @@ -601,14 +601,14 @@ RSpec.describe HTTParty::Request do expect(@request.options[:headers]['Cookie']).to match(/name=value/) end - it 'should update cookies with rediects' do + it 'should update cookies with redirects' do @request.options[:headers] = {'Cookie' => 'foo=bar;'} @redirect['Set-Cookie'] = 'foo=tar;' @request.perform expect(@request.options[:headers]['Cookie']).to match(/foo=tar/) end - it 'should keep cookies between rediects' do + it 'should keep cookies between redirects' do @request.options[:headers] = {'Cookie' => 'keep=me'} @redirect['Set-Cookie'] = 'foo=tar;' @request.perform @@ -722,14 +722,14 @@ RSpec.describe HTTParty::Request do expect(@request.options[:headers]['Cookie']).to match(/name=value/) end - it 'should update cookies with rediects' do + it 'should update cookies with redirects' do @request.options[:headers] = {'Cookie' => 'foo=bar;'} @redirect['Set-Cookie'] = 'foo=tar;' @request.perform expect(@request.options[:headers]['Cookie']).to match(/foo=tar/) end - it 'should keep cookies between rediects' do + it 'should keep cookies between redirects' do @request.options[:headers] = {'Cookie' => 'keep=me'} @redirect['Set-Cookie'] = 'foo=tar;' @request.perform @@ -921,14 +921,14 @@ RSpec.describe HTTParty::Request do expect(@request.options[:headers]['Cookie']).to match(/name=value/) end - it 'should update cookies with rediects' do + it 'should update cookies with redirects' do @request.options[:headers] = {'Cookie' => 'foo=bar;'} @redirect['Set-Cookie'] = 'foo=tar;' @request.perform expect(@request.options[:headers]['Cookie']).to match(/foo=tar/) end - it 'should keep cookies between rediects' do + it 'should keep cookies between redirects' do @request.options[:headers] = {'Cookie' => 'keep=me'} @redirect['Set-Cookie'] = 'foo=tar;' @request.perform