diff options
| author | vlatka pavisic | 2016-12-02 16:39:38 +0100 |
|---|---|---|
| committer | vlatka pavisic | 2016-12-05 10:56:06 +0100 |
| commit | 5cf4f1b770a76faa4e7842b9ebe33287fde1b5e0 (patch) | |
| tree | 7ac2e7b1045bf5253c2143cc41925d2c25ade617 | |
| parent | fdb0f3b15df731de3678eff5afa970d9d6c9c7fa (diff) | |
| download | chouette-core-5cf4f1b770a76faa4e7842b9ebe33287fde1b5e0.tar.bz2 | |
Refs #2133 : Fix typo
| -rw-r--r-- | spec/features/companies_spec.rb | 2 | ||||
| -rw-r--r-- | spec/features/group_of_lines_spec.rb | 2 | ||||
| -rw-r--r-- | spec/features/lines_spec.rb | 2 | ||||
| -rw-r--r-- | spec/features/networks_spec.rb | 2 | ||||
| -rw-r--r-- | spec/features/referential_companies_spec.rb | 2 | ||||
| -rw-r--r-- | spec/features/referential_group_of_lines_spec.rb | 4 | ||||
| -rw-r--r-- | spec/features/referential_lines_spec.rb | 2 | ||||
| -rw-r--r-- | spec/features/referential_networks_spec.rb | 2 | ||||
| -rw-r--r-- | spec/features/referential_stop_areas_spec.rb | 2 | ||||
| -rw-r--r-- | spec/features/stop_areas_spec.rb | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/spec/features/companies_spec.rb b/spec/features/companies_spec.rb index 9c024adbf..b8e85194c 100644 --- a/spec/features/companies_spec.rb +++ b/spec/features/companies_spec.rb @@ -16,7 +16,7 @@ describe "Companies", :type => :feature do expect(page).to have_content(companies.last.short_name) end - context 'fitering' do + context 'filtering' do it 'supports filtering by name' do fill_in 'q[name_or_objectid_cont]', with: companies.first.name click_button 'search-btn' diff --git a/spec/features/group_of_lines_spec.rb b/spec/features/group_of_lines_spec.rb index cbdb2fade..79500fe33 100644 --- a/spec/features/group_of_lines_spec.rb +++ b/spec/features/group_of_lines_spec.rb @@ -24,7 +24,7 @@ describe "Group of lines", :type => :feature do expect(page).to have_content(group_of_lines.last.name) end - context 'fitering' do + context 'filtering' do it 'supports filtering by name' do fill_in 'q[name_cont]', with: group_of_lines.first.name click_button 'search-btn' diff --git a/spec/features/lines_spec.rb b/spec/features/lines_spec.rb index bbb149e3c..dbc449ccc 100644 --- a/spec/features/lines_spec.rb +++ b/spec/features/lines_spec.rb @@ -19,7 +19,7 @@ describe "Lines", :type => :feature do expect(page).to have_content(lines.last.name) end - context 'fitering' do + context 'filtering' do it 'supports filtering by name' do fill_in 'q[name_or_number_or_objectid_cont]', with: lines.first.name click_button 'search-btn' diff --git a/spec/features/networks_spec.rb b/spec/features/networks_spec.rb index ed02b3788..3e3be8ef1 100644 --- a/spec/features/networks_spec.rb +++ b/spec/features/networks_spec.rb @@ -16,7 +16,7 @@ describe "Networks", :type => :feature do expect(page).to have_content(networks.last.name) end - context 'fitering' do + context 'filtering' do it 'supports filtering by name' do fill_in 'q[name_or_objectid_cont]', with: networks.first.name click_button 'search-btn' diff --git a/spec/features/referential_companies_spec.rb b/spec/features/referential_companies_spec.rb index 4611c818f..82f86b192 100644 --- a/spec/features/referential_companies_spec.rb +++ b/spec/features/referential_companies_spec.rb @@ -15,7 +15,7 @@ describe 'ReferentialCompanies', type: :feature do expect(page).to have_content(companies.last.name) end - context 'fitering' do + context 'filtering' do it 'supports filtering by name' do fill_in 'q[name_or_objectid_cont]', with: companies.first.name click_button 'search-btn' diff --git a/spec/features/referential_group_of_lines_spec.rb b/spec/features/referential_group_of_lines_spec.rb index 491a7a939..e5970545b 100644 --- a/spec/features/referential_group_of_lines_spec.rb +++ b/spec/features/referential_group_of_lines_spec.rb @@ -5,7 +5,7 @@ describe 'ReferentialLines', type: :feature do login_user let(:referential) { Referential.first } - let!(:group_of_lines) { Array.new(2) { create(:group_of_line, line_referential: Referential.first.line_referential) } } + let!(:group_of_lines) { Array.new(2) { create(:group_of_line, line_referential: referential.line_referential) } } describe 'index' do before(:each) { visit referential_group_of_lines_path(referential) } @@ -15,7 +15,7 @@ describe 'ReferentialLines', type: :feature do expect(page).to have_content(group_of_lines.last.name) end - context 'fitering' do + context 'filtering' do it 'supports filtering by name' do fill_in 'q[name_cont]', with: group_of_lines.first.name click_button 'search-btn' diff --git a/spec/features/referential_lines_spec.rb b/spec/features/referential_lines_spec.rb index 9f4892c36..79d30d4b0 100644 --- a/spec/features/referential_lines_spec.rb +++ b/spec/features/referential_lines_spec.rb @@ -16,7 +16,7 @@ describe 'ReferentialLines', type: :feature do expect(page).to have_content(referential.lines.last.name) end - context 'fitering' do + context 'filtering' do it 'supports filtering by name' do fill_in 'q[name_or_number_or_objectid_cont]', with: referential.lines.first.name click_button 'search-btn' diff --git a/spec/features/referential_networks_spec.rb b/spec/features/referential_networks_spec.rb index 7c0d56bf2..8eb38df4b 100644 --- a/spec/features/referential_networks_spec.rb +++ b/spec/features/referential_networks_spec.rb @@ -15,7 +15,7 @@ describe 'ReferentialNetworks', type: :feature do expect(page).to have_content(networks.last.name) end - context 'fitering' do + context 'filtering' do it 'supports filtering by name' do fill_in 'q[name_or_objectid_cont]', with: networks.first.name click_button 'search-btn' diff --git a/spec/features/referential_stop_areas_spec.rb b/spec/features/referential_stop_areas_spec.rb index 82613c06e..0dc7951a7 100644 --- a/spec/features/referential_stop_areas_spec.rb +++ b/spec/features/referential_stop_areas_spec.rb @@ -16,7 +16,7 @@ describe 'ReferentialStopAreas', type: :feature do expect(page).to have_content(stop_areas.last.name) end - context 'fitering' do + context 'filtering' do it 'supports filtering by name' do fill_in 'q[name_or_objectid_cont]', with: stop_areas.first.name click_button 'search-btn' diff --git a/spec/features/stop_areas_spec.rb b/spec/features/stop_areas_spec.rb index a1ec37a0a..a2ed781d1 100644 --- a/spec/features/stop_areas_spec.rb +++ b/spec/features/stop_areas_spec.rb @@ -16,7 +16,7 @@ describe "StopAreas", :type => :feature do expect(page).to have_content(stop_areas.last.name) end - context 'fitering' do + context 'filtering' do it 'supports filtering by name' do fill_in 'q[name_or_objectid_cont]', with: stop_areas.first.name click_button 'search-btn' |
