Skip to content
This repository was archived by the owner on Jun 18, 2025. It is now read-only.

Commit ef2a086

Browse files
committed
Added barcode generate for test
1 parent e1272a4 commit ef2a086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/models/assets/import_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
end
141141
context 'when importing a local asset' do
142142
setup do
143-
@barcode_plate = "DN1"
143+
@barcode_plate = generate(:barcode)
144144
@asset = Asset.create!(barcode: @barcode_plate)
145145
end
146146
it 'should return the local asset when looking by its barcode' do

0 commit comments

Comments
 (0)