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