inventory setup
This commit is contained in:
14
spec/views/stock_check_items/index.html.erb_spec.rb
Normal file
14
spec/views/stock_check_items/index.html.erb_spec.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe "stock_check_items/index", type: :view do
|
||||
before(:each) do
|
||||
assign(:stock_check_items, [
|
||||
StockCheckItem.create!(),
|
||||
StockCheckItem.create!()
|
||||
])
|
||||
end
|
||||
|
||||
it "renders a list of stock_check_items" do
|
||||
render
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user