Bundle update
This commit is contained in:
parent
b49bfb0d8c
commit
8a5c130875
13 changed files with 62 additions and 61 deletions
|
|
@ -18,7 +18,7 @@ feature ArticlesController do
|
|||
it 'can create a new article' do
|
||||
click_on I18n.t('articles.index.new')
|
||||
expect(page).to have_selector('form#new_article')
|
||||
article = FactoryGirl.build :article, supplier: supplier, article_category: article_category
|
||||
article = FactoryBot.build :article, supplier: supplier, article_category: article_category
|
||||
within('#new_article') do
|
||||
fill_in 'article_name', :with => article.name
|
||||
fill_in 'article_unit', :with => article.unit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue