diff options
| author | Robert | 2017-07-31 14:57:30 +0200 | 
|---|---|---|
| committer | Robert | 2017-07-31 14:57:30 +0200 | 
| commit | 54856654f0e7c1802ab785f8dff689f35c92fe80 (patch) | |
| tree | 6b9e06f91f0b852eb3158aa0181483ed33d8f8b6 /spec/tasks | |
| parent | 609b774388a7f57703ec14a224363c88f3564eaf (diff) | |
| download | chouette-core-54856654f0e7c1802ab785f8dff689f35c92fe80.tar.bz2 | |
Refs: #3507@2h CR 2nd leg
Diffstat (limited to 'spec/tasks')
| -rw-r--r-- | spec/tasks/reflex_rake_spec.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/spec/tasks/reflex_rake_spec.rb b/spec/tasks/reflex_rake_spec.rb index 04c5886aa..6ece223d2 100644 --- a/spec/tasks/reflex_rake_spec.rb +++ b/spec/tasks/reflex_rake_spec.rb @@ -5,7 +5,7 @@ describe 'reflex:sync' do      before(:each) do        ['getOP', 'getOR'].each do |method|          stub_request(:get, "#{Rails.application.config.reflex_api_url}/?format=xml&idRefa=0&method=#{method}"). -        to_return(body: File.open("#{fixture_path}/reflex.zip"), status: 200) +        to_return(body: open_fixture('reflex.zip'), status: 200)        end        stop_area_ref = create(:stop_area_referential, name: 'Reflex') @@ -43,7 +43,7 @@ describe 'reflex:sync' do        before(:each) do          ['getOP', 'getOR'].each do |method|            stub_request(:get, "#{Rails.application.config.reflex_api_url}/?format=xml&idRefa=0&method=#{method}"). -          to_return(body: File.open("#{fixture_path}/reflex_updated.zip"), status: 200) +          to_return(body: open_fixture('reflex_updated.zip'), status: 200)          end          Stif::ReflexSynchronization.synchronize        end | 
