Sha256: 44b6f1386b2b9a2deb2ad1f1a85435836ccd472ab380b68f992d67b7b4f4205b
Contents?: true
Size: 530 Bytes
Versions: 10
Compression:
Stored size: 530 Bytes
Contents
require "rails_helper.rb" describe "manifestations/index.txt.erb" do before(:each) do manifestation = FactoryGirl.create(:manifestation) manifestation.items << FactoryGirl.create(:item, bookstore_id: 1, budget_type_id: 1, price: 100) @manifestations = assign(:manifestations, [ manifestation ] ) end it "should excludes librarian specific fields" do params[:format] = "text" render csv = CSV.parse(rendered, headers: true, col_sep: "\t") expect(csv["bookstore"].compact).to be_empty end end
Version data entries
10 entries across 9 versions & 2 rubygems