aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/features/companies_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/companies_spec.rb b/spec/features/companies_spec.rb
index adb5fa9f9..08221f637 100644
--- a/spec/features/companies_spec.rb
+++ b/spec/features/companies_spec.rb
@@ -11,8 +11,8 @@ describe "Companies", :type => :feature do
describe "list" do
it "display companies" do
visit line_referential_companies_path(line_referential)
- expect(page).to have_content(companies.first.name)
- expect(page).to have_content(companies.last.name)
+ expect(page).to have_content(companies.first.short_name)
+ expect(page).to have_content(companies.last.short_name)
end
end