diff options
Diffstat (limited to 'spec/views/companies/new.html.erb_spec.rb')
| -rw-r--r-- | spec/views/companies/new.html.erb_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/companies/new.html.erb_spec.rb b/spec/views/companies/new.html.erb_spec.rb index a28e430f3..86f252cbd 100644 --- a/spec/views/companies/new.html.erb_spec.rb +++ b/spec/views/companies/new.html.erb_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' describe "/companies/new" do - let!(:referential) { assign(:referential, create(:referential)) } + assign_referential let!(:company) { assign(:company, build(:company)) } describe "form" do |
