Sha256: bb3ee68adb01c3344ddd6115d5cbdd16fabe5b8daf788b0b700ea0a0fea262c2

Contents?: true

Size: 407 Bytes

Versions: 8

Compression:

Stored size: 407 Bytes

Contents

require 'rails_helper'

describe "manifestations/show.txt.ruby" do
  fixtures :all

  before(:each) do
    assign(:manifestation, FactoryBot.create(:manifestation))
  end

  it "renders info" do
    allow(view).to receive(:policy).and_return double(create?: true)
    render
    # Run the generator again with the --webrat flag if you want to use webrat matchers
    rendered.should match(/text/)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
enju_biblio-0.3.13 spec/views/manifestations/show.txt.ruby_spec.rb
enju_biblio-0.3.12 spec/views/manifestations/show.txt.ruby_spec.rb
enju_biblio-0.3.11 spec/views/manifestations/show.txt.ruby_spec.rb
enju_biblio-0.3.10 spec/views/manifestations/show.txt.ruby_spec.rb
enju_biblio-0.3.10.rc.3 spec/views/manifestations/show.txt.ruby_spec.rb
enju_biblio-0.3.10.rc.2 spec/views/manifestations/show.txt.ruby_spec.rb
enju_biblio-0.3.10.rc.1 spec/views/manifestations/show.txt.ruby_spec.rb
enju_biblio-0.3.9 spec/views/manifestations/show.txt.ruby_spec.rb