inventory setup

This commit is contained in:
Nweni
2017-08-24 18:04:42 +06:30
parent 688ce932cc
commit 81f430b5c6
97 changed files with 1699 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
require 'rails_helper'
RSpec.describe "inventory_definitions/edit", type: :view do
before(:each) do
@inventory_definition = assign(:inventory_definition, InventoryDefinition.create!())
end
it "renders the edit inventory_definition form" do
render
assert_select "form[action=?][method=?]", inventory_definition_path(@inventory_definition), "post" do
end
end
end