From 7ea4ab54b53e9d14bf4562df24ed341fbe297f9e Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 12 Jul 2017 12:01:04 +0200 Subject: 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 --- spec/views/stop_areas/show.html.erb_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 => '
'.html_safe)) } -- cgit v1.2.3