Sha256: fde807afc220f12adc2bdfc9166b255761ba4ed3756ca4283ab5e1d8c9f845a7

Contents?: true

Size: 285 Bytes

Versions: 3

Compression:

Stored size: 285 Bytes

Contents

require 'spec_helper'

describe Qbrick::SitemapsController, type: :controller do
  describe '#index' do
    before do
      @page = FactoryGirl.create(:page)
    end

    it 'should be able to send a xml file' do
      get(:index,  use_route: :qbrick, format: 'xml')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
qbrick-2.5.2 spec/controllers/qbrick/sitemaps_controller_spec.rb
qbrick-2.5.1 spec/controllers/qbrick/sitemaps_controller_spec.rb
qbrick-2.5.0 spec/controllers/qbrick/sitemaps_controller_spec.rb