Sha256: 83f83c14c8e1e87a1155f74766ee795e2252a1aba4011365975b820aefb95eed
Contents?: true
Size: 406 Bytes
Versions: 9
Compression:
Stored size: 406 Bytes
Contents
require 'rails_helper' describe "libraries/show" do fixtures :all before(:each) do @events = Kaminari::paginate_array([]).page(1) assign(:library, FactoryGirl.create(:library, :street => "\tStreet 1-2")) end it "renders a library detail" do allow(view).to receive(:policy).and_return double(create?: true, update?: true) render expect(rendered).to include "library" end end
Version data entries
9 entries across 7 versions & 2 rubygems