aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/controllers/routes_controller_spec.rb4
-rw-r--r--spec/views/routes/show.html.erb_spec.rb1
2 files changed, 0 insertions, 5 deletions
diff --git a/spec/controllers/routes_controller_spec.rb b/spec/controllers/routes_controller_spec.rb
index cfadc382a..39585f649 100644
--- a/spec/controllers/routes_controller_spec.rb
+++ b/spec/controllers/routes_controller_spec.rb
@@ -72,10 +72,6 @@ describe RoutesController do
assigns[:map].route.should == route
end
- it "assigns route.stop_points.paginate(:page => nil) as @stop_points" do
- assigns[:stop_points].should == route.stop_points.paginate(:page => nil)
- end
-
end
end
diff --git a/spec/views/routes/show.html.erb_spec.rb b/spec/views/routes/show.html.erb_spec.rb
index 983b63fcb..e7f9d011a 100644
--- a/spec/views/routes/show.html.erb_spec.rb
+++ b/spec/views/routes/show.html.erb_spec.rb
@@ -5,7 +5,6 @@ describe "/routes/show" do
assign_referential
let!(:line) { assign :line, create(:line) }
let!(:route) { assign :route, create(:route, :line => line) }
- let!(:stop_points) { assign :stop_points, Array.new(2) { create(:stop_point) }.paginate }
let!(:map) { assign(:map, mock(:to_html => '<div id="map"/>'.html_safe)) }
it "should render h2 with the route name" do