Sha256: 8823b074e18ede4c0b6c335f002f058fe1ba7ae9f90c5caa1626d70cf358105c
Contents?: true
Size: 403 Bytes
Versions: 13
Compression:
Stored size: 403 Bytes
Contents
require 'rails_helper' describe "manifestations/show.txt.erb" 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(/1/) end end
Version data entries
13 entries across 13 versions & 1 rubygems