Sha256: 3b095b5f743a15ffc6e6459931307eb4ee64d0138f407503c53dfae28229141a

Contents?: true

Size: 380 Bytes

Versions: 12

Compression:

Stored size: 380 Bytes

Contents

require 'rails_helper'

RSpec.describe "item_custom_properties/show", type: :view do
  before(:each) do
    @item_custom_property = assign(:item_custom_property, ItemCustomProperty.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/item_custom_properties/show.html.erb_spec.rb
enju_biblio-0.3.17 spec/views/item_custom_properties/show.html.erb_spec.rb
enju_biblio-0.3.16 spec/views/item_custom_properties/show.html.erb_spec.rb
enju_biblio-0.3.15 spec/views/item_custom_properties/show.html.erb_spec.rb
enju_biblio-0.3.14 spec/views/item_custom_properties/show.html.erb_spec.rb
enju_biblio-0.3.13 spec/views/item_custom_properties/show.html.erb_spec.rb
enju_biblio-0.3.12 spec/views/item_custom_properties/show.html.erb_spec.rb
enju_biblio-0.3.11 spec/views/item_custom_properties/show.html.erb_spec.rb
enju_biblio-0.3.10 spec/views/item_custom_properties/show.html.erb_spec.rb
enju_biblio-0.3.10.rc.3 spec/views/item_custom_properties/show.html.erb_spec.rb
enju_biblio-0.3.10.rc.2 spec/views/item_custom_properties/show.html.erb_spec.rb
enju_biblio-0.3.10.rc.1 spec/views/item_custom_properties/show.html.erb_spec.rb