Sha256: eb3183611d2387040409a9238999c5b83bbba8bd93682e0697011330cb5efa4b
Contents?: true
Size: 443 Bytes
Versions: 12
Compression:
Stored size: 443 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' RSpec.describe Zizia::ImporterDocumentationController, type: :controller do routes { Zizia::Engine.routes } describe "GET csv" do it "provides a csv download" do get :csv expect(response.headers['Content-Type']).to eq('text/csv; charset=utf-8') expect(response.headers['Content-Disposition']).to eq('attachment; filename="import_manifest.csv"') end end end
Version data entries
12 entries across 12 versions & 1 rubygems