Adopt Rails 5 belongs_to_required_by_default
This commit is contained in:
parent
2557645f4f
commit
44a198c7bc
23 changed files with 53 additions and 38 deletions
|
|
@ -9,6 +9,7 @@ feature 'supplier' do
|
|||
before { login user }
|
||||
|
||||
it 'can be created' do
|
||||
create :supplier_category
|
||||
visit suppliers_path
|
||||
click_on I18n.t('suppliers.index.action_new')
|
||||
supplier = build :supplier
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue