Sha256: 4e7954f2f366496f7f2f33899bb05d9717deb003ec216ab77930122ce3fe361b

Contents?: true

Size: 317 Bytes

Versions: 16

Compression:

Stored size: 317 Bytes

Contents

require 'spec_helper'

describe Alchemy::Admin::PagesController do

	before(:each) do
		activate_authlogic
		Alchemy::UserSession.create Factory(:admin_user)
	end

	describe "#flush" do

		it "should remove the cache of all pages" do
			post :flush, {:format => :js}
			response.status.should == 200
		end

	end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
alchemy_cms-2.1.9 spec/controllers/admin/pages_controller_spec.rb
alchemy_cms-2.1.8.1 spec/controllers/admin/pages_controller_spec.rb
alchemy_cms-2.1.8 spec/controllers/admin/pages_controller_spec.rb
alchemy_cms-2.1.7 spec/controllers/admin/pages_controller_spec.rb
alchemy_cms-2.1.6 spec/controllers/admin/pages_controller_spec.rb
alchemy_cms-2.1.5 spec/controllers/admin/pages_controller_spec.rb
alchemy_cms-2.1.4 spec/controllers/admin/pages_controller_spec.rb
alchemy_cms-2.1.3 spec/controllers/admin/pages_controller_spec.rb
alchemy_cms-2.1.2 spec/controllers/admin/pages_controller_spec.rb
alchemy_cms-2.1.1 spec/controllers/admin/pages_controller_spec.rb
alchemy_cms-2.1 spec/controllers/admin/pages_controller_spec.rb
alchemy_cms-2.1.rc6 spec/controllers/admin/pages_controller_spec.rb
alchemy_cms-2.1.rc5 spec/controllers/admin/pages_controller_spec.rb
alchemy_cms-2.1.rc4 spec/controllers/admin/pages_controller_spec.rb
alchemy_cms-2.1.rc3 spec/controllers/admin/pages_controller_spec.rb
alchemy_cms-2.1.rc2 spec/controllers/admin/pages_controller_spec.rb