Created
March 5, 2014 20:42
-
-
Save groveriffic/9376165 to your computer and use it in GitHub Desktop.
This automatically disables specs when the url is not specified via environment variable.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let(:ftp_url) { | |
if ENV['FTP_TEST_URL'] | |
URI(ENV['FTP_TEST_URL']) | |
else | |
pending "Set ENV['FTP_TEST_URL'] to enable" | |
end | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment