Skip to content

Instantly share code, notes, and snippets.

@nomasprime
Created September 23, 2015 09:39
Show Gist options
  • Save nomasprime/e8605dc5efb985fe22b7 to your computer and use it in GitHub Desktop.
Save nomasprime/e8605dc5efb985fe22b7 to your computer and use it in GitHub Desktop.
module AdminBounds
describe Osmosis do
context 'when pbf file does not exist' do
subject(:osmosis) { Osmosis.new('no.osm.pbf') }
before { osmosis.import_administrative_boundaries }
it { is_expected.to raise_error(RuntimeError) }
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment