Sha256: 19f7f41326777ea1c39e54891e699c6be8fbcca68e2e7ea5a4646243b4bcf1d5
Contents?: true
Size: 521 Bytes
Versions: 12
Compression:
Stored size: 521 Bytes
Contents
require 'rails_helper' RSpec.describe "item_custom_properties/new", type: :view do before(:each) do assign(:item_custom_property, ItemCustomProperty.new( name: "my_string", note: "MyText" )) end it "renders new item_custom_property form" do render assert_select "form[action=?][method=?]", item_custom_properties_path, "post" do assert_select "input[name=?]", "item_custom_property[name]" assert_select "textarea[name=?]", "item_custom_property[note]" end end end
Version data entries
12 entries across 12 versions & 1 rubygems