aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views
diff options
context:
space:
mode:
authorjpl2017-02-22 12:24:26 +0100
committerjpl2017-02-22 12:24:26 +0100
commit90ef6dd7a61c0ff5a4ae35f8019584956877c607 (patch)
tree45956f0c3c69868b9697b362fdaf87e62dd8ed05 /spec/views
parent61257f790ab486a028ed4cc9fe57097dd6dc0288 (diff)
downloadchouette-core-90ef6dd7a61c0ff5a4ae35f8019584956877c607.tar.bz2
Refs #2629: updating route stop_area reactux subform (first pass)
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/routes/show.html.erb_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/views/routes/show.html.erb_spec.rb b/spec/views/routes/show.html.erb_spec.rb
index 327ed1588..9c536f111 100644
--- a/spec/views/routes/show.html.erb_spec.rb
+++ b/spec/views/routes/show.html.erb_spec.rb
@@ -5,9 +5,11 @@ describe "/routes/show", :type => :view do
assign_referential
let!(:line) { assign :line, create(:line) }
let!(:route) { assign :route, create(:route, :line => line) }
+ let!(:route_sp) { assign :route_sp, route.stop_points }
let!(:map) { assign(:map, double(:to_html => '<div id="map"/>'.html_safe)) }
it "should render h1 with the route name" do
+ # puts params[:sort].present? ? 'toto' : 'tata'
render
expect(rendered).to have_selector("h1", :text => Regexp.new(line.name))
end