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

Version Path
enju_biblio-0.3.18 spec/views/manifestation_custom_properties/edit.html.erb_spec.rb
enju_biblio-0.3.17 spec/views/manifestation_custom_properties/edit.html.erb_spec.rb
enju_biblio-0.3.16 spec/views/manifestation_custom_properties/edit.html.erb_spec.rb
enju_biblio-0.3.15 spec/views/manifestation_custom_properties/edit.html.erb_spec.rb
enju_biblio-0.3.14 spec/views/manifestation_custom_properties/edit.html.erb_spec.rb
enju_biblio-0.3.13 spec/views/manifestation_custom_properties/edit.html.erb_spec.rb
enju_biblio-0.3.12 spec/views/manifestation_custom_properties/edit.html.erb_spec.rb
enju_biblio-0.3.11 spec/views/manifestation_custom_properties/edit.html.erb_spec.rb
enju_biblio-0.3.10 spec/views/manifestation_custom_properties/edit.html.erb_spec.rb
enju_biblio-0.3.10.rc.3 spec/views/manifestation_custom_properties/edit.html.erb_spec.rb
enju_biblio-0.3.10.rc.2 spec/views/manifestation_custom_properties/edit.html.erb_spec.rb
enju_biblio-0.3.10.rc.1 spec/views/manifestation_custom_properties/edit.html.erb_spec.rb