Sha256: 256f2b046d8428db9661ae1caa16f6543c69cd1778b4d6ddc5d8f7463a04386e

Contents?: true

Size: 365 Bytes

Versions: 11

Compression:

Stored size: 365 Bytes

Contents

module Infrataster
  module Helpers
    module RSpecHelper
      def method_missing(method, *args)
        if current_infrataster_context.respond_to?(method)
          return current_infrataster_context.public_send(method, *args)
        end

        super
      end

      def current_infrataster_context
        @infrataster_context
      end
    end
  end
end


Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
infrataster-0.3.2 lib/infrataster/helpers/rspec_helper.rb
infrataster-0.3.1 lib/infrataster/helpers/rspec_helper.rb
infrataster-0.3.0 lib/infrataster/helpers/rspec_helper.rb
infrataster-0.2.6 lib/infrataster/helpers/rspec_helper.rb
infrataster-0.2.5 lib/infrataster/helpers/rspec_helper.rb
infrataster-0.2.4 lib/infrataster/helpers/rspec_helper.rb
infrataster-0.2.3 lib/infrataster/helpers/rspec_helper.rb
infrataster-0.2.2 lib/infrataster/helpers/rspec_helper.rb
infrataster-0.2.1 lib/infrataster/helpers/rspec_helper.rb
infrataster-0.2.0 lib/infrataster/helpers/rspec_helper.rb
infrataster-0.2.0.beta1 lib/infrataster/helpers/rspec_helper.rb