Sha256: 91fad577bf4965dad2cf4d96929a7b854e9c6e2e91f8746634c9f3e1c94e843f

Contents?: true

Size: 268 Bytes

Versions: 12

Compression:

Stored size: 268 Bytes

Contents

require 'spec_helper'

describe Kuhsaft::SitemapsController 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: :kuhsaft, format: 'xml')
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
qbrick-2.5.0.pre spec/controllers/kuhsaft/sitemaps_controller_spec.rb
kuhsaft-2.4.3 spec/controllers/kuhsaft/sitemaps_controller_spec.rb
kuhsaft-2.4.2 spec/controllers/kuhsaft/sitemaps_controller_spec.rb
kuhsaft-2.4.1 spec/controllers/kuhsaft/sitemaps_controller_spec.rb
kuhsaft-2.4.0 spec/controllers/kuhsaft/sitemaps_controller_spec.rb
kuhsaft-2.3.6 spec/controllers/kuhsaft/sitemaps_controller_spec.rb
kuhsaft-2.3.5 spec/controllers/kuhsaft/sitemaps_controller_spec.rb
kuhsaft-2.3.4 spec/controllers/kuhsaft/sitemaps_controller_spec.rb
kuhsaft-2.3.3 spec/controllers/kuhsaft/sitemaps_controller_spec.rb
kuhsaft-2.3.2 spec/controllers/kuhsaft/sitemaps_controller_spec.rb
kuhsaft-2.3.1 spec/controllers/kuhsaft/sitemaps_controller_spec.rb
kuhsaft-2.3.0 spec/controllers/kuhsaft/sitemaps_controller_spec.rb