diff options
| author | Zakaria BOUZIANE | 2015-02-17 18:01:48 +0100 | 
|---|---|---|
| committer | Zakaria BOUZIANE | 2015-02-17 18:01:48 +0100 | 
| commit | ad74d12ada2bbe2fe961424a3ce529f28cc157da (patch) | |
| tree | 49371deb59941be5582b1c4311791fcfc940d531 /spec/features/connection_links_spec.rb | |
| parent | 22a0f867d596ff869735eac3f5c5b1028109e813 (diff) | |
| download | chouette-core-ad74d12ada2bbe2fe961424a3ce529f28cc157da.tar.bz2 | |
Upgrading FactoryGirl to V4.5.0
Diffstat (limited to 'spec/features/connection_links_spec.rb')
| -rw-r--r-- | spec/features/connection_links_spec.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/spec/features/connection_links_spec.rb b/spec/features/connection_links_spec.rb index d77189d41..788e58326 100644 --- a/spec/features/connection_links_spec.rb +++ b/spec/features/connection_links_spec.rb @@ -24,7 +24,7 @@ describe "ConnectionLinks", :type => :feature do      end      it "display map" do -      allow(subject).to receive(:stop_areas).and_return(Array.new(2) { Factory(:stop_area) }) +      allow(subject).to receive(:stop_areas).and_return(Array.new(2) { create(:stop_area) })        visit referential_connection_links_path(referential)        click_link "#{connection_links.first.name}"        expect(page).to have_selector("#map.connection_link") | 
