diff options
| author | Alban Peignier | 2012-06-29 09:16:46 +0200 |
|---|---|---|
| committer | Alban Peignier | 2012-06-29 09:16:46 +0200 |
| commit | cfa38b6c6593c46fe52f30455c7073e37da3ae97 (patch) | |
| tree | c53a5684d85b8d85ead29bc652dd989a5bdcc4ac /spec | |
| parent | e23bf6c2789b174d7ce847270f45d15b8633000c (diff) | |
| download | chouette-core-cfa38b6c6593c46fe52f30455c7073e37da3ae97.tar.bz2 | |
Use controller as helpers in Map to create correct paths. Refs #4
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/controllers/routes_controller_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/controllers/routes_controller_spec.rb b/spec/controllers/routes_controller_spec.rb index 9356e1a9a..e0485b77d 100644 --- a/spec/controllers/routes_controller_spec.rb +++ b/spec/controllers/routes_controller_spec.rb @@ -67,9 +67,8 @@ describe RoutesController do it_behaves_like "route, line and referential linked" - it "assigns RouteMap.new( referential, route) as @map" do + it "assigns RouteMap.new(route) as @map" do assigns[:map].should be_an_instance_of(RouteMap) - assigns[:map].referential.should == referential assigns[:map].route.should == route end |
