Sha256: bc6f3c292243aca9bfa824e0d7f8f749093002e25b9b7c2b4397bce4c8ebae2d
Contents?: true
Size: 366 Bytes
Versions: 1
Compression:
Stored size: 366 Bytes
Contents
require 'spec_helper' describe Spree::ProductsController, type: :controller do context "GET /index.rss" do before { get :index, format: 'rss', use_route: :spree} it 'succeeds' do expect(response).to be_success end it 'returns the correct content type' do expect(response.content_type).to eql('application/rss+xml') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_product_feed-0.1.0 | spec/controllers/products_controller_spec.rb |