From 0a8468df56d072a5d4a2bfc431e84966496a092b Mon Sep 17 00:00:00 2001 From: Zog Date: Mon, 28 May 2018 17:07:32 +0200 Subject: Refs #6433; Fix specs --- spec/features/stop_areas_spec.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/features/stop_areas_spec.rb b/spec/features/stop_areas_spec.rb index ae1736309..3a47f826f 100644 --- a/spec/features/stop_areas_spec.rb +++ b/spec/features/stop_areas_spec.rb @@ -43,30 +43,30 @@ describe "StopAreas", :type => :feature do describe 'updated stop areas in before block' do it 'supports displaying only stop areas in creation' do - find("#q_status_eq_any_in_creation").set(true) + find("#q_by_status_in_creation").set(true) click_button 'search-btn' expect(page).not_to have_content(stop_areas.first.name) expect(page).not_to have_content(stop_areas.last.name) end it 'supports displaying only confirmed stop areas' do - find("#q_status_eq_any_confirmed").set(true) + find("#q_by_status_confirmed").set(true) click_button 'search-btn' expect(page).to have_content(stop_areas.first.name) expect(page).not_to have_content(stop_areas.last.name) end it 'supports displaying only deactivated stop areas' do - find("#q_status_eq_any_deactivated").set(true) + find("#q_by_status_deactivated").set(true) click_button 'search-btn' expect(page).not_to have_content(stop_areas.first.name) expect(page).to have_content(stop_areas.last.name) end it 'should display all stop areas if all filters are checked' do - find("#q_status_eq_any_in_creation").set(true) - find("#q_status_eq_any_confirmed").set(true) - find("#q_status_eq_any_deactivated").set(true) + find("#q_by_status_in_creation").set(true) + find("#q_by_status_confirmed").set(true) + find("#q_by_status_deactivated").set(true) click_button 'search-btn' expect(page).to have_content(stop_areas.first.name) expect(page).to have_content(stop_areas.last.name) -- cgit v1.2.3