Created
October 30, 2015 18:16
-
-
Save tobymurray/e2db526303fe3a376a23 to your computer and use it in GitHub Desktop.
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
it "should raise exception on GMT command failure" do | |
FileUtils.makedirs(GmtMapFile::temp_map_dir) unless File.directory?(GmtMapFile::temp_map_dir) | |
ps_file_name = File.join(GmtMapFile::temp_map_dir, "not enough options.ps") | |
expect { GmtMap.run "pscoast", ">", ps_file_name }.to raise_error RuntimeError | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment