aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorLuc Donnet2013-07-10 11:22:01 +0200
committerLuc Donnet2013-07-10 11:22:01 +0200
commit006522962b2feb2f28446991866522acd5d4886d (patch)
tree0f5e9f879e102613467bac4879dc5d87b8ec4fc8 /spec
parentead284b277486b9731e740e7d94e88e09d2f987d (diff)
downloadchouette-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.rb6
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