Sha256: 532810afb813e27d893a5f77b334e90fe8d15881abc9eecc26c723ae2558bbea
Contents?: true
Size: 584 Bytes
Versions: 12
Compression:
Stored size: 584 Bytes
Contents
require 'rails_helper' RSpec.describe "manifestation_custom_properties/new", type: :view do before(:each) do assign(:manifestation_custom_property, ManifestationCustomProperty.new( name: "my_string", note: "MyText" )) end it "renders new manifestation_custom_property form" do render assert_select "form[action=?][method=?]", manifestation_custom_properties_path, "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