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:
commit
0f4d781de7
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue