diff options
| author | Marc Florisson | 2013-07-08 17:12:18 +0200 | 
|---|---|---|
| committer | Marc Florisson | 2013-07-08 17:12:18 +0200 | 
| commit | 0cad1a2a6cc092b8bf4e2d479f247d87b1cd409d (patch) | |
| tree | 15a1cebe90e70c3f4906c82e2b9025556c47f30d /spec/exporters | |
| parent | 267c336f437257f293c8d04d17d716df2885dae6 (diff) | |
| download | chouette-core-0cad1a2a6cc092b8bf4e2d479f247d87b1cd409d.tar.bz2 | |
fix Kml Export : correct use of Referential
Diffstat (limited to 'spec/exporters')
| -rw-r--r-- | spec/exporters/chouette/kml/exporter_spec.rb | 7 | 
1 files changed, 5 insertions, 2 deletions
| diff --git a/spec/exporters/chouette/kml/exporter_spec.rb b/spec/exporters/chouette/kml/exporter_spec.rb index e83cc1ad6..5f2b30b82 100644 --- a/spec/exporters/chouette/kml/exporter_spec.rb +++ b/spec/exporters/chouette/kml/exporter_spec.rb @@ -2,10 +2,13 @@ require 'spec_helper'  describe Chouette::Kml::Exporter do -  subject { Chouette::Kml::Exporter.new } +  let(:referential) { Factory(:referential) } +  subject { Chouette::Kml::Exporter.new(referential) }    let(:zip_file_path) { "#{Rails.root}/tmp/exports/test.zip" } -  let(:line) { Factory(:line_with_stop_areas_having_parent) } +  let(:line) { +    referential.switch +    Factory(:line_with_stop_areas_having_parent) }    describe "#export" do     | 
