README.md in proxy_tester-0.0.4 vs README.md in proxy_tester-0.0.5

- old
+ new

@@ -477,14 +477,58 @@ * use_user Set the user used to connect to the proxy. +*Lookup user password using `users.csv`* ```ruby it 'blocks www.example.org for user "user1"' do use_proxy subject use_user 'user1' + + visit 'http://www.example.org' + + expect(page).to have_content('Access forbidden') + expect(page.status_code).to eq 403 +end +``` + +*Ask user for user name and user password* + +```ruby +it 'blocks www.example.org for user' do + use_proxy subject + use_user :ask + + visit 'http://www.example.org' + + expect(page).to have_content('Access forbidden') + expect(page.status_code).to eq 403 +end +``` + +*Ask user for user password* + +```ruby +it 'blocks www.example.org for user' do + use_proxy subject + use_user 'user', :ask_password + + visit 'http://www.example.org' + + expect(page).to have_content('Access forbidden') + expect(page.status_code).to eq 403 +end +``` + +*Build a special user name based on ENV* + +```ruby +it 'blocks www.example.org for user' do + use_proxy subject + use_user 'user', :credential_merging + # => ENV['USER']-user visit 'http://www.example.org' expect(page).to have_content('Access forbidden') expect(page.status_code).to eq 403