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