Sha256: d2a2cdfc6608e51d9c220a7bb673419e450e04c11bff914fa90aae9288a2e692

Contents?: true

Size: 275 Bytes

Versions: 12

Compression:

Stored size: 275 Bytes

Contents

require 'spec_helper'

describe Qbrick::SitemapsController, type: :controller do
  routes { Qbrick::Engine.routes }

  describe '#index' do
    it 'should be able to send a xml file' do
      @page = FactoryGirl.create :page
      get :index, format: 'xml'
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
qbrick-2.7.1 spec/controllers/qbrick/sitemaps_controller_spec.rb
qbrick-2.7 spec/controllers/qbrick/sitemaps_controller_spec.rb
qbrick-2.6.10 spec/controllers/qbrick/sitemaps_controller_spec.rb
qbrick-2.6.9 spec/controllers/qbrick/sitemaps_controller_spec.rb
qbrick-2.6.8 spec/controllers/qbrick/sitemaps_controller_spec.rb
qbrick-2.6.7 spec/controllers/qbrick/sitemaps_controller_spec.rb
qbrick-2.6.6 spec/controllers/qbrick/sitemaps_controller_spec.rb
qbrick-2.6.5 spec/controllers/qbrick/sitemaps_controller_spec.rb
qbrick-2.6.4 spec/controllers/qbrick/sitemaps_controller_spec.rb
qbrick-2.6.3 spec/controllers/qbrick/sitemaps_controller_spec.rb
qbrick-2.6.2 spec/controllers/qbrick/sitemaps_controller_spec.rb
qbrick-2.6.1 spec/controllers/qbrick/sitemaps_controller_spec.rb