aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/routes_controller_spec.rb
diff options
context:
space:
mode:
authorMichel Etienne2012-08-02 15:28:58 +0200
committerMichel Etienne2012-08-02 15:28:58 +0200
commit7e7d452e59fb6dddce09e616a0d229930dd4dc5d (patch)
treed6c20a527741bc8265112e55764bc3b36af7c068 /spec/controllers/routes_controller_spec.rb
parent84bf9638c2d18d4f636e7dc51e2ba6a2fe4a97b2 (diff)
downloadchouette-core-7e7d452e59fb6dddce09e616a0d229930dd4dc5d.tar.bz2
redefine spec for updates
Diffstat (limited to 'spec/controllers/routes_controller_spec.rb')
-rw-r--r--spec/controllers/routes_controller_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/routes_controller_spec.rb b/spec/controllers/routes_controller_spec.rb
index e0485b77d..4fc1dcc28 100644
--- a/spec/controllers/routes_controller_spec.rb
+++ b/spec/controllers/routes_controller_spec.rb
@@ -72,8 +72,8 @@ describe RoutesController do
assigns[:map].route.should == route
end
- it "assigns route.stop_points.paginate(:page => nil, :per_page => 10) as @stop_points" do
- assigns[:stop_points].should == route.stop_points.paginate(:page => nil, :per_page => 10)
+ it "assigns route.stop_points.paginate(:page => nil) as @stop_points" do
+ assigns[:stop_points].should == route.stop_points.paginate(:page => nil)
end
end