Sha256: bab680e1c66880522608ca25fec5547a96c5dfd9084e28a577cf477c87f4892d

Contents?: true

Size: 253 Bytes

Versions: 35

Compression:

Stored size: 253 Bytes

Contents

require "spec_helper"

describe Clearance::Controller, type: :controller do
  controller(ActionController::Base) do
    include Clearance::Controller
  end

  it "exposes no action methods" do
    expect(controller.action_methods).to be_empty
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
clearance-2.9.2 spec/clearance/controller_spec.rb
clearance-2.9.1 spec/clearance/controller_spec.rb
clearance-2.9.0 spec/clearance/controller_spec.rb
clearance-2.8.0 spec/clearance/controller_spec.rb
clearance-2.7.2 spec/clearance/controller_spec.rb
clearance-2.7.0 spec/clearance/controller_spec.rb
clearance-2.6.2 spec/clearance/controller_spec.rb
clearance-2.6.1 spec/clearance/controller_spec.rb
clearance-2.6.0 spec/clearance/controller_spec.rb
clearance-2.5.0 spec/clearance/controller_spec.rb
clearance-2.4.0 spec/clearance/controller_spec.rb
clearance-2.3.1 spec/clearance/controller_spec.rb
clearance-2.3.0 spec/clearance/controller_spec.rb
clearance-2.2.1 spec/clearance/controller_spec.rb
clearance-2.2.0 spec/clearance/controller_spec.rb
clearance-2.1.0 spec/clearance/controller_spec.rb
clearance-2.0.0 spec/clearance/controller_spec.rb
clearance-2.0.0.beta2 spec/clearance/controller_spec.rb
clearance-2.0.0.beta1 spec/clearance/controller_spec.rb
clearance-1.17.0 spec/clearance/controller_spec.rb