spec/controllers/qbrick/sitemaps_controller_spec.rb in qbrick-2.5.2 vs spec/controllers/qbrick/sitemaps_controller_spec.rb in qbrick-2.6.0
- old
+ new
@@ -1,13 +1,13 @@
require 'spec_helper'
describe Qbrick::SitemapsController, type: :controller do
describe '#index' do
before do
- @page = FactoryGirl.create(:page)
+ @page = FactoryGirl.create :page
end
it 'should be able to send a xml file' do
- get(:index, use_route: :qbrick, format: 'xml')
+ get :index, use_route: :qbrick, format: 'xml'
end
end
end