Sha256: 71a05c5c8e972677123678039979ab37f85699248e16e7a4ffc468f06f35fd3b

Contents?: true

Size: 416 Bytes

Versions: 12

Compression:

Stored size: 416 Bytes

Contents

require 'rails_helper'

RSpec.describe "manifestation_custom_properties/show", type: :view do
  before(:each) do
    @manifestation_custom_property = assign(:manifestation_custom_property, ManifestationCustomProperty.create!(
      name: "name",
      note: "MyText"
    ))
  end

  it "renders attributes in <p>" do
    render
    expect(rendered).to match(/name/)
    expect(rendered).to match(/MyText/)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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