diff options
| author | Marc Florisson | 2012-04-25 09:55:02 +0200 | 
|---|---|---|
| committer | Marc Florisson | 2012-04-25 09:55:02 +0200 | 
| commit | fcac578e38f4e620113b3b877e27b952cf4caa95 (patch) | |
| tree | 9d1dabbf0331df9b7012492f58601a87bb8ffc01 /spec/views | |
| parent | 24148be964f69140ea46a830cd0d07e43aa61bfc (diff) | |
| download | chouette-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.rb | 1 | 
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  | 
