Files
sx-fc/spec/views/stock_checks/edit.html.erb_spec.rb
2017-10-23 11:38:10 +06:30

15 lines
325 B
Ruby
Executable File

require 'rails_helper'
RSpec.describe "stock_checks/edit", type: :view do
before(:each) do
@stock_check = assign(:stock_check, StockCheck.create!())
end
it "renders the edit stock_check form" do
render
assert_select "form[action=?][method=?]", stock_check_path(@stock_check), "post" do
end
end
end