inventory setup
This commit is contained in:
14
spec/views/stock_check_items/edit.html.erb_spec.rb
Normal file
14
spec/views/stock_check_items/edit.html.erb_spec.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe "stock_check_items/edit", type: :view do
|
||||
before(:each) do
|
||||
@stock_check_item = assign(:stock_check_item, StockCheckItem.create!())
|
||||
end
|
||||
|
||||
it "renders the edit stock_check_item form" do
|
||||
render
|
||||
|
||||
assert_select "form[action=?][method=?]", stock_check_item_path(@stock_check_item), "post" do
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user