Sha256: 39b37917f62ee220a85b4c3d078c3d9af4f188935f33eb4feda6316c6e35a869
Contents?: true
Size: 372 Bytes
Versions: 16
Compression:
Stored size: 372 Bytes
Contents
require "spec_helper" describe Fume::Cancan do before(:each) do Fume::Cancan.try_enable @controller_class = Class.new(ActionController::Base) end it "should add method to action controller base" do @controller_class.methods.should be_include "authorize_namespace" @controller_class.instance_methods.should be_include "authorize_namespace" end end
Version data entries
16 entries across 16 versions & 1 rubygems