diff options
| author | Zog | 2018-04-03 21:53:42 +0200 | 
|---|---|---|
| committer | Johan Van Ryseghem | 2018-04-04 11:10:39 +0200 | 
| commit | e709a1ddaf5686b3463d7697cd21cee3d15957f2 (patch) | |
| tree | c0f2f57124dae9b0e77dc49162d5dac1f832d3a3 /spec/views | |
| parent | a59aa62be66340bb1ac22bad7cb980dbf1a5ffa1 (diff) | |
| download | chouette-core-e709a1ddaf5686b3463d7697cd21cee3d15957f2.tar.bz2 | |
Fix specs
Diffstat (limited to 'spec/views')
| -rw-r--r-- | spec/views/stop_areas/edit.html.erb_spec.rb | 1 | ||||
| -rw-r--r-- | spec/views/stop_areas/new.html.erb_spec.rb | 1 | 
2 files changed, 2 insertions, 0 deletions
| diff --git a/spec/views/stop_areas/edit.html.erb_spec.rb b/spec/views/stop_areas/edit.html.erb_spec.rb index bfbb0bb55..1bdb42817 100644 --- a/spec/views/stop_areas/edit.html.erb_spec.rb +++ b/spec/views/stop_areas/edit.html.erb_spec.rb @@ -8,6 +8,7 @@ describe "/stop_areas/edit", :type => :view do    before do      allow(view).to receive(:has_feature?) +    allow(view).to receive(:resource){ stop_area }    end    describe "form" do diff --git a/spec/views/stop_areas/new.html.erb_spec.rb b/spec/views/stop_areas/new.html.erb_spec.rb index 23f7387fa..eced129e4 100644 --- a/spec/views/stop_areas/new.html.erb_spec.rb +++ b/spec/views/stop_areas/new.html.erb_spec.rb @@ -7,6 +7,7 @@ describe "/stop_areas/new", :type => :view do    before do      allow(view).to receive(:has_feature?) +    allow(view).to receive(:resource){ stop_area }    end    describe "form" do | 
