diff options
| author | Alban Peignier | 2012-04-17 16:08:38 +0200 | 
|---|---|---|
| committer | Alban Peignier | 2012-04-17 16:08:38 +0200 | 
| commit | 30b0118f2523a04d6777c8ec79b3181c128b3bf8 (patch) | |
| tree | cb1bd017ec89d376328c625fed647073b34b25d9 /spec/views/companies | |
| parent | 609feda78e6fa4047fa1d3af4f633a856224bd33 (diff) | |
| download | chouette-core-30b0118f2523a04d6777c8ec79b3181c128b3bf8.tar.bz2 | |
Fixes all specs. Refs #6
Diffstat (limited to 'spec/views/companies')
| -rw-r--r-- | spec/views/companies/index.html.erb_spec.rb | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/views/companies/index.html.erb_spec.rb b/spec/views/companies/index.html.erb_spec.rb index 9f4b00649..3c2df6c45 100644 --- a/spec/views/companies/index.html.erb_spec.rb +++ b/spec/views/companies/index.html.erb_spec.rb @@ -3,7 +3,8 @@ require 'spec_helper'  describe "/companies/index" do    let!(:referential) { assign( :referential, Factory(:referential) ) } -  let!(:companies) { assign( :companies, Array.new(2) { Factory(:company) } )  }   +  let!(:companies) { assign :companies, Array.new(2) { Factory(:company) }.paginate  }   +  let!(:search) { assign :q, Ransack::Search.new(Chouette::Company) }    it "should render a show link for each group" do              render    | 
