diff options
| author | Luc Donnet | 2013-07-10 11:22:01 +0200 |
|---|---|---|
| committer | Luc Donnet | 2013-07-10 11:22:01 +0200 |
| commit | 006522962b2feb2f28446991866522acd5d4886d (patch) | |
| tree | 0f5e9f879e102613467bac4879dc5d87b8ec4fc8 /spec | |
| parent | ead284b277486b9731e740e7d94e88e09d2f987d (diff) | |
| download | chouette-core-006522962b2feb2f28446991866522acd5d4886d.tar.bz2 | |
Add stop place connection link access point and access link to kml export
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/exporters/chouette/kml/exporter_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/exporters/chouette/kml/exporter_spec.rb b/spec/exporters/chouette/kml/exporter_spec.rb index f44e8f201..2a733e0a4 100644 --- a/spec/exporters/chouette/kml/exporter_spec.rb +++ b/spec/exporters/chouette/kml/exporter_spec.rb @@ -36,6 +36,12 @@ describe Chouette::Kml::Exporter do ::Zip::ZipFile.open(zip_file_path).size.should == 6 end + it "should return a zip file with 6 kml files" do + subject.export(zip_file_path, {:export_id => 1, :o => "", :id => "" } ) + File.exists?(zip_file_path).should be_true + ::Zip::ZipFile.open(zip_file_path).size.should == 6 + end + end |
