Only display a configuration warning if Sauce for Heroku hasn't been configured

This commit is contained in:
R. Tyler Croy 2012-11-11 17:04:57 -08:00
parent f47961e10e
commit 7f0964d728
1 changed files with 4 additions and 1 deletions

View File

@ -56,7 +56,10 @@ access_key: #{apikey}
end
def chrome
display 'Sauce for Heroku has not yet been configured!'
unless configured?
display 'Sauce for Heroku has not yet been configured!'
return
end
end