diff options
| author | jpl | 2017-03-02 15:02:25 +0100 | 
|---|---|---|
| committer | jpl | 2017-03-02 15:02:25 +0100 | 
| commit | 1238523513a6699bfdbb7bc1baf63044ed3aab9e (patch) | |
| tree | 722600bb3af098f5dcb6ac17693da5f520aed282 /spec/features/lines_spec.rb | |
| parent | 3db14baba4d7b2980c6802a746c2e01c2693119b (diff) | |
| download | chouette-core-1238523513a6699bfdbb7bc1baf63044ed3aab9e.tar.bz2 | |
Refs #2704: updating filter/search bars, beginning with workbenches#show
Diffstat (limited to 'spec/features/lines_spec.rb')
| -rw-r--r-- | spec/features/lines_spec.rb | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/spec/features/lines_spec.rb b/spec/features/lines_spec.rb index 4ecefab33..f15d33f60 100644 --- a/spec/features/lines_spec.rb +++ b/spec/features/lines_spec.rb @@ -28,21 +28,21 @@ describe "Lines", :type => :feature do      context 'filtering' do        it 'supports filtering by name' do -        fill_in 'q[name_or_number_or_objectid_cont]', with: lines.first.name +        fill_in 'q[name_or_objectid_cont]', with: lines.first.name          click_button 'search-btn'          expect(page).to have_content(lines.first.name)          expect(page).not_to have_content(lines.last.name)        end        it 'supports filtering by number' do -        fill_in 'q[name_or_number_or_objectid_cont]', with: lines.first.number +        fill_in 'q[name_or_objectid_cont]', with: lines.first.number          click_button 'search-btn'          expect(page).to have_content(lines.first.name)          expect(page).not_to have_content(lines.last.name)        end        it 'supports filtering by objectid' do -        fill_in 'q[name_or_number_or_objectid_cont]', with: lines.first.objectid +        fill_in 'q[name_or_objectid_cont]', with: lines.first.objectid          click_button 'search-btn'          expect(page).to have_content(lines.first.name)          expect(page).not_to have_content(lines.last.name) | 
