aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features/lines_spec.rb
diff options
context:
space:
mode:
authorjpl2017-03-17 17:28:36 +0100
committerjpl2017-03-17 17:28:36 +0100
commit82f8b8a0cf518946d94573831676237411e1ece9 (patch)
tree7cd4182e3337a7dd185ef7e97e688cba6ca0fa82 /spec/features/lines_spec.rb
parent42c0d639d933a7234b5dfbf2987b9c3a4175fca3 (diff)
downloadchouette-core-82f8b8a0cf518946d94573831676237411e1ece9.tar.bz2
Refs #2859: fix wording issues
Diffstat (limited to 'spec/features/lines_spec.rb')
-rw-r--r--spec/features/lines_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/features/lines_spec.rb b/spec/features/lines_spec.rb
index f15d33f60..bbe3c757b 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_objectid_cont]', with: lines.first.name
+ fill_in 'q[name_or_number_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_objectid_cont]', with: lines.first.number
+ fill_in 'q[name_or_number_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_objectid_cont]', with: lines.first.objectid
+ fill_in 'q[name_or_number_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)
@@ -88,10 +88,10 @@ describe "Lines", :type => :feature do
# describe "edit and return to show" do
# it "edit line" do
# visit line_referential_line_path(line_referential, subject)
- # click_link "Modifier cette ligne"
+ # click_link "Editer cette ligne"
# fill_in "line_name", :with => "Line Modified"
# fill_in "Numéro d'enregistrement", :with => "test-1"
- # click_button("Modifier ligne")
+ # click_button("Editer ligne")
# expect(page).to have_content("Line Modified")
# end
# end