aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features/companies_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/companies_spec.rb')
-rw-r--r--spec/features/companies_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/features/companies_spec.rb b/spec/features/companies_spec.rb
index bcf73b631..e5c7ae6e5 100644
--- a/spec/features/companies_spec.rb
+++ b/spec/features/companies_spec.rb
@@ -9,7 +9,6 @@ describe "Companies", :type => :feature do
describe "list" do
it "display companies" do
- puts referential.inspect
visit referential_companies_path(referential)
expect(page).to have_content(companies.first.name)
expect(page).to have_content(companies.last.name)
@@ -42,7 +41,7 @@ describe "Companies", :type => :feature do
it "edit company" do
visit referential_company_path(referential, subject)
click_link "Modifier ce transporteur"
- fill_in "Nom", :with => "Company Modified"
+ fill_in "company_name", :with => "Company Modified"
fill_in "Numéro d'enregistrement", :with => "test-1"
click_button("Modifier transporteur")
expect(page).to have_content("Company Modified")