Sha256: 53df8a0b4427b51109666a12f5bc124b2818181f6c79eacefc4f8574c9cf5d5c
Contents?: true
Size: 482 Bytes
Versions: 6
Compression:
Stored size: 482 Bytes
Contents
require File.join File.dirname(__FILE__), 'spec_helper' describe ActsAsDashboard do before :each do class FoosController < ActionController::Base; end end it 'includes itself into classes that inherit from ActionController::Base' do FoosController.included_modules.should include ActsAsDashboard end it 'extends ActsAsDashboard::ClassMethods into classes that include it' do FoosController.extended_by.should include ActsAsDashboard::ClassMethods end end
Version data entries
6 entries across 6 versions & 1 rubygems