module RSpec::SleepingKingStudios::Deferred::Examples
Defines a deferred example group for declaring shared tests.
Public Class Methods
Source
# File lib/rspec/sleeping_king_studios/deferred/examples.rb, line 69 def self.included(other) super other.extend ClassMethods other.extend RSpec::SleepingKingStudios::Deferred::Definitions other.extend RSpec::SleepingKingStudios::Deferred::Dsl other.include RSpec::SleepingKingStudios::Deferred::Provider other.include RSpec::SleepingKingStudios::Deferred::Consumer location = caller_locations(1, 1).first other.source_location = [location.path, location.lineno] end
Callback invoked when the module is included in another module or class.
Extends the class or module with the Deferred::Definitions
and Deferred::Examples::DSL modules.
@param other [Module] the other module or class.
@see RSpec::SleepingKingStudios::Deferred::Definitions
. @see RSpec::SleepingKingStudios::Deferred::Examples::Dsl.
Calls superclass method