features/basic_auth.feature in chemistrykit-3.9.1 vs features/basic_auth.feature in chemistrykit-3.10.0
- old
+ new
@@ -4,11 +4,11 @@
This way tests will be able to execute without being prompted by a modal dialog box.
Background:
- Given I run `ckit new basic_auth_harness`
+ Given I run `bundle exec ckit new basic_auth_harness`
And I cd to "basic_auth_harness"
And a file named "beakers/basic_auth_1_beaker.rb" with:
"""
describe "Basic Auth", :depth => 'shallow' do
it "works without providing credentials in the URL" do
@@ -23,26 +23,26 @@
basic_auth:
username: 'admin'
password: 'admin'
http_path: '/'
"""
- When I run `ckit brew`
+ When I run `bundle exec ckit brew`
Then the stdout should contain "1 example, 0 failures"
Scenario: Pre-load HTTP before each test without the http_path set
And a file named "config.yaml" with:
"""
base_url: 'http://the-internet.herokuapp.com/basic_auth'
basic_auth:
username: 'admin'
password: 'admin'
"""
- When I run `ckit brew`
+ When I run `bundle exec ckit brew`
Then the stdout should contain "1 example, 0 failures"
Scenario: Works without Basic Auth
And a file named "config.yaml" with:
"""
base_url: 'http://google.com'
"""
- When I run `ckit brew`
+ When I run `bundle exec ckit brew`
Then the stdout should contain "1 example, 0 failures"