Sha256: e550d6ea2ea1a631b9de59c547831e7efe6b516ec70d02eeb8c95ffd14410bcd
Contents?: true
Size: 657 Bytes
Versions: 12
Compression:
Stored size: 657 Bytes
Contents
require 'rails_helper' RSpec.describe "manifestation_custom_properties/edit", type: :view do before(:each) do @manifestation_custom_property = assign(:manifestation_custom_property, ManifestationCustomProperty.create!( name: "my_string", note: "MyText" )) end it "renders the edit manifestation_custom_property form" do render assert_select "form[action=?][method=?]", manifestation_custom_property_path(@manifestation_custom_property), "post" do assert_select "input[name=?]", "manifestation_custom_property[name]" assert_select "textarea[name=?]", "manifestation_custom_property[note]" end end end
Version data entries
12 entries across 12 versions & 1 rubygems