Sha256: 28abf3e9da53e13d590cbaa67ba8b993fa75f5af8d9639887f52a671cea080ec

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 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

1 entries across 1 versions & 1 rubygems

Version Path
qbrick-2.6.0 spec/controllers/qbrick/sitemaps_controller_spec.rb