Permalink
Browse files

Delete redundant test [ci skip]

  • Loading branch information...
1 parent 28a3281 commit ad85d12a529441f43918787cae62ee7b47a17cfb Nathan Long committed Dec 7, 2012
Showing with 0 additions and 10 deletions.
  1. +0 −7 spec/authority/controller_spec.rb
  2. +0 −3 spec/support/example_controllers.rb
@@ -132,13 +132,6 @@
@controller.send(:authority_user)
end
- describe "in controllers that inherited from a controller including authority, but don't call any class method" do
- it "automatically has a new copy of the authority_action_map" do
- @controller = InstanceController.new
- expect(@controller.class.authority_action_map).to eq(Authority.configuration.controller_action_map)
- end
- end
-
describe "authority_forbidden action" do
before :each do
@@ -9,9 +9,6 @@ class ExampleController
include Authority::Controller
end
-class InstanceController < ExampleController
-end
-
# this controller will not have `authority_actions_for` called on it but will
# have `authority_action_for` called on it
class SampleController

0 comments on commit ad85d12

Please sign in to comment.