Bundle update

This commit is contained in:
wvengen 2017-10-27 23:21:31 +02:00
parent b49bfb0d8c
commit 8a5c130875
13 changed files with 62 additions and 61 deletions

View file

@ -5,7 +5,7 @@ describe Article do
let(:article) { create :article, supplier: supplier }
it 'has a unique name' do
article2 = FactoryGirl.build :article, supplier: supplier, name: article.name
article2 = FactoryBot.build :article, supplier: supplier, name: article.name
expect(article2).to be_invalid
end