Sha256: 6c823c956d86e4e1df2946cdbde08e10f88d4d283e1b9aedc38b51f247670e68

Contents?: true

Size: 470 Bytes

Versions: 4

Compression:

Stored size: 470 Bytes

Contents

# frozen_string_literal: true

require 'active_support/all'
require "rspec_in_context/version"
require "rspec_in_context/in_context"
require "rspec_in_context/context_management"

module RspecInContext
  def self.included(base)
    base.include(RspecInContext::InContext)
  end
end

module RSpec
  def self.define_context(name, namespace: nil, ns: nil, &block)
    namespace ||= ns
    RspecInContext::InContext.outside_define_context(name, namespace, &block)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rspec_in_context-0.3.2 lib/rspec_in_context.rb
rspec_in_context-0.3.1 lib/rspec_in_context.rb
rspec_in_context-0.3.0 lib/rspec_in_context.rb
rspec_in_context-0.2.0 lib/rspec_in_context.rb