aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorMarc Florisson2012-05-15 15:39:53 +0200
committerMarc Florisson2012-05-15 15:39:53 +0200
commit63f7a0b5183f52b8791adf2a61521e12f652a98e (patch)
tree77cb710b8adc0536c3592c0b742d28793f070285 /spec
parenta2260f9d3737188d22504f705825ed5a846bb861 (diff)
downloadchouette-core-63f7a0b5183f52b8791adf2a61521e12f652a98e.tar.bz2
add route and stop_point views
Diffstat (limited to 'spec')
-rw-r--r--spec/views/routes/show.html.erb_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/routes/show.html.erb_spec.rb b/spec/views/routes/show.html.erb_spec.rb
index 05d783eb0..5fa7485b7 100644
--- a/spec/views/routes/show.html.erb_spec.rb
+++ b/spec/views/routes/show.html.erb_spec.rb
@@ -5,7 +5,7 @@ describe "/routes/show" do
let!(:referential) { assign :referential, create(:referential) }
let!(:line) { assign :line, create(:line) }
let!(:route) { assign :route, create(:route, :line => line) }
- let!(:stop_areas) { assign :stop_areas, Array.new(2) { create(:stop_area) }.paginate }
+ let!(:stop_points) { assign :stop_points, Array.new(2) { create(:stop_point) }.paginate }
let!(:map) { assign(:map, mock(:to_html => '<div id="map"/>')) }
it "should render h2 with the route name" do