Sha256: d8f24c3a45ea84bb54f61e2e109d4dcf291d6f0e30cffc335a1f396a89effb18
Contents?: true
Size: 475 Bytes
Versions: 11
Compression:
Stored size: 475 Bytes
Contents
require 'rails_helper' describe "manifestations/show.json.jbuilder" do fixtures :all before(:each) do assign(:manifestation, FactoryBot.create(:manifestation)) allow(view).to receive(:policy).and_return double(show?: true, create?: false, udpate?: false, destroy?: false) end it "renders a template" do render # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/original_title/) end end
Version data entries
11 entries across 11 versions & 1 rubygems