Add a simple scenario for `heroku sauce:chrome`
This commit is contained in:
parent
c515c876ed
commit
9cc421045b
|
@ -0,0 +1,14 @@
|
|||
Feature: Start a chrome browser pointing at my Heroku site
|
||||
In order to test my website in the Chrome browser
|
||||
As a Heroku user
|
||||
I should be able to fire up a Sauce Scout instance pointing at my Heroku
|
||||
instance
|
||||
|
||||
|
||||
Scenario: Without having configured Sauce
|
||||
Given I haven't already configured the plugin
|
||||
When I run `heroku sauce:chrome`
|
||||
Then the output should contain:
|
||||
"""
|
||||
Sauce for Heroku has not yet been configured!
|
||||
"""
|
|
@ -0,0 +1,4 @@
|
|||
Given /^I haven't already configured the plugin$/ do
|
||||
# no op
|
||||
end
|
||||
|
|
@ -53,6 +53,10 @@ access_key: #{apikey}
|
|||
""")
|
||||
end
|
||||
end
|
||||
|
||||
def chrome
|
||||
display 'Sauce for Heroku has not yet been configured!'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue