aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views
diff options
context:
space:
mode:
authorMarc Florisson2012-04-25 09:55:02 +0200
committerMarc Florisson2012-04-25 09:55:02 +0200
commitfcac578e38f4e620113b3b877e27b952cf4caa95 (patch)
tree9d1dabbf0331df9b7012492f58601a87bb8ffc01 /spec/views
parent24148be964f69140ea46a830cd0d07e43aa61bfc (diff)
downloadchouette-core-fcac578e38f4e620113b3b877e27b952cf4caa95.tar.bz2
fix spec for line show view
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/lines/show.html.erb_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/views/lines/show.html.erb_spec.rb b/spec/views/lines/show.html.erb_spec.rb
index f11727a81..42261005a 100644
--- a/spec/views/lines/show.html.erb_spec.rb
+++ b/spec/views/lines/show.html.erb_spec.rb
@@ -4,6 +4,7 @@ describe "/lines/show" do
let!(:referential) { assign :referential, create(:referential) }
let!(:line) { assign :line, create(:line) }
+ let!(:routes) { assign :routes, Array.new(2) { create(:route, :line => line) }.paginate }
let!(:map) { assign(:map, mock(:to_html => '<div id="map"/>')) }
it "should render h2 with the line name" do