Module: Shoulda::Context::DSL

Defined in:
lib/shoulda/context/dsl.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/shoulda/context/dsl.rb', line 6

def self.included(base)
  base.class_eval do
    include Assertions
    include InstanceMethods
  end
  base.extend(ClassMethods)
end