Add a simple scenario for `heroku sauce:chrome`

This commit is contained in:
R. Tyler Croy 2012-11-10 15:05:44 -08:00
parent c515c876ed
commit 9cc421045b
3 changed files with 22 additions and 0 deletions

View File

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

View File

@ -0,0 +1,4 @@
Given /^I haven't already configured the plugin$/ do
# no op
end

View File

@ -53,6 +53,10 @@ access_key: #{apikey}
""")
end
end
def chrome
display 'Sauce for Heroku has not yet been configured!'
end
end
end
end