1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Merge pull request #451 from linrock/fix-spec-typos

Fix typos in cookie spec descriptions
This commit is contained in:
John Nunemaker 2015-12-02 13:28:07 -05:00
commit 0f4d781de7

View file

@ -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