Sha256: 722b3bb9038c9ed9adb1f7f6b6dd5b2288f3e62961979aba2390ee5a93dcace6

Contents?: true

Size: 485 Bytes

Versions: 37

Compression:

Stored size: 485 Bytes

Contents

require File.dirname(__FILE__) + "/../../../lib/alchemy/resource"
require File.dirname(__FILE__) + "/../../../lib/alchemy/resources_helper"

module Alchemy
  module Admin
    class ResourcesController
      helper Alchemy::ResourcesHelper
    end
  end
end


describe Alchemy::Admin::ResourcesController do
  describe "index" do
    it "should include ResourcesHelper" do
      Alchemy::Admin::ResourcesController.new.respond_to?(:resource_window_size).should be_true
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
alchemy_cms-2.5.3.1 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.5.3 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.5.2.2 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.5.2.1 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.5.2 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.5.1 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.5.0 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.5.0.rc3 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.5.0.b9 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.3.2 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.2.4 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.4.1 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.5.0.b5 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.5.0.b2 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.4.0 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.4.rc4 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.4.rc2 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.4.rc1 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.3.1 spec/controllers/admin/resources_controller_spec.rb
alchemy_cms-2.4.beta2 spec/controllers/admin/resources_controller_spec.rb