Sha256: 3629a78fd7107443b3f36f5f72a5f0d9133e236eb6c4e597186fe670ec7ee965
Contents?: true
Size: 527 Bytes
Versions: 11
Compression:
Stored size: 527 Bytes
Contents
require "rails_helper.rb" describe "manifestations/index.txt.ruby" do before(:each) do manifestation = FactoryBot.create(:manifestation) manifestation.items << FactoryBot.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
11 entries across 11 versions & 1 rubygems