module Shoegaze::Proxy::Interface

A common interface module for defining mock implementations, scenarios, and driving the implementations/scenarios from the test interface.

Attributes

implementations[R]

Public Class Methods

included(base) click to toggle source
# File lib/shoegaze/proxy/interface.rb, line 6
def self.included(base)
  base.extend ClassMethods
  base.class_eval do
    extend RSpec::Mocks::ExampleMethods

    class << self
      attr_reader :implementations
    end
  end
end