diff options
| author | Marc Florisson | 2012-05-15 15:39:53 +0200 |
|---|---|---|
| committer | Marc Florisson | 2012-05-15 15:39:53 +0200 |
| commit | 63f7a0b5183f52b8791adf2a61521e12f652a98e (patch) | |
| tree | 77cb710b8adc0536c3592c0b742d28793f070285 /spec | |
| parent | a2260f9d3737188d22504f705825ed5a846bb861 (diff) | |
| download | chouette-core-63f7a0b5183f52b8791adf2a61521e12f652a98e.tar.bz2 | |
add route and stop_point views
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/views/routes/show.html.erb_spec.rb | 2 |
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 |
