Sha256: c32c9621e0f7c3b362ba6f27063e8ca191a3f60f51b39776bfe189876ab25e3f

Contents?: true

Size: 480 Bytes

Versions: 1

Compression:

Stored size: 480 Bytes

Contents

require 'rails_helper'

describe "manifestations/show" do
  fixtures :all

  before(:each) do
    @manifestation = assign(:manifestation, FactoryBot.create(:manifestation))
    @library_group = LibraryGroup.first
  end

  it "renders attributes in <p>" do
    allow(view).to receive(:policy).and_return double(create?: true, update?: true)
    render
    # Run the generator again with the --webrat flag if you want to use webrat matchers
    rendered.should match(/1/)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_grid-0.3.0.beta.1 spec/views/manifestations/show.html.erb_spec.rb