diff options
| author | Teddy Wing | 2017-07-12 12:01:04 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2017-07-12 12:01:04 +0200 | 
| commit | 7ea4ab54b53e9d14bf4562df24ed341fbe297f9e (patch) | |
| tree | 7dd48e84e298ce471c0fd4f70bf6f03e30780fc3 /spec | |
| parent | 25e0a8c896d2562a91f3fcea8e5f6ffba972f149 (diff) | |
| download | chouette-core-7ea4ab54b53e9d14bf4562df24ed341fbe297f9e.tar.bz2 | |
stop_areas/show.html.erb_spec.rb: Decorate stop area
In order to get the `#action_links` method to be found by the new table
builder, decorate the stop area.
Refs #3479
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/views/stop_areas/show.html.erb_spec.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/stop_areas/show.html.erb_spec.rb b/spec/views/stop_areas/show.html.erb_spec.rb index a22379402..6fd416128 100644 --- a/spec/views/stop_areas/show.html.erb_spec.rb +++ b/spec/views/stop_areas/show.html.erb_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper'  describe "/stop_areas/show", :type => :view do    let!(:stop_area_referential) { assign :stop_area_referential, stop_area.stop_area_referential } -  let!(:stop_area) { assign :stop_area, create(:stop_area) } +  let!(:stop_area) { assign :stop_area, create(:stop_area).decorate }    let!(:access_points) { assign :access_points, [] }    let!(:map) { assign(:map, double(:to_html => '<div id="map"/>'.html_safe)) }  | 
