Skip to content

Commit

Permalink
fix spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeta committed Dec 30, 2019
1 parent 8effd40 commit d916513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/inventory_file_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
fixtures :users

before(:each) do
@file = InventoryFile.new inventory: File.new("#{Rails.root.to_s}/../../examples/inventory_file_sample.tsv", shelf: Shelf.find_by(name: 'first_shelf'))
@file = InventoryFile.new(inventory: File.new("#{Rails.root.to_s}/../../examples/inventory_file_sample.tsv"), shelf: Shelf.find_by(name: 'first_shelf'))
@file.user = users(:admin)
@file.save
end
Expand Down

0 comments on commit d916513

Please sign in to comment.