Sha256: 7251f45dd1503d5927f4b5108d4070a97e48a2b7ea9f27479295fb80b0df1a0f
Contents?: true
Size: 404 Bytes
Versions: 10
Compression:
Stored size: 404 Bytes
Contents
require 'rails_helper' describe "manifestations/show.txt.erb" do fixtures :all before(:each) do assign(:manifestation, FactoryGirl.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
10 entries across 9 versions & 2 rubygems