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-1.16.2 spec/clearance/controller_spec.rb
clearance-1.16.1 spec/clearance/controller_spec.rb
clearance-1.16.0 spec/clearance/controller_spec.rb
clearance-1.15.1 spec/clearance/controller_spec.rb
clearance-1.15.0 spec/clearance/controller_spec.rb
clearance-1.14.2 spec/clearance/controller_spec.rb
clearance-1.14.1 spec/clearance/controller_spec.rb
clearance-1.14.0 spec/clearance/controller_spec.rb
clearance-1.13.0 spec/clearance/controller_spec.rb
clearance-1.12.1 spec/clearance/controller_spec.rb
clearance-1.12.0 spec/clearance/controller_spec.rb
clearance-1.11.0 spec/clearance/controller_spec.rb
clearance-1.10.1 spec/clearance/controller_spec.rb
clearance-1.9.0 spec/clearance/controller_spec.rb
clearance-1.8.1 spec/clearance/controller_spec.rb