aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views/companies/edit.html.erb_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/views/companies/edit.html.erb_spec.rb')
-rw-r--r--spec/views/companies/edit.html.erb_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/companies/edit.html.erb_spec.rb b/spec/views/companies/edit.html.erb_spec.rb
index 22a561daf..0f7bde351 100644
--- a/spec/views/companies/edit.html.erb_spec.rb
+++ b/spec/views/companies/edit.html.erb_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe "/companies/edit" do
- let!(:referential) { assign(:referential, create(:referential)) }
+ assign_referential
let!(:company) { assign(:company, create(:company)) }
let!(:companies) { Array.new(2) { create(:company) } }