Sha256: 3c18e5fabdc419715f8928b11b7c079acf4038a4d658d4426475b95895f01f9e

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

require 'crystal/spec/environment'

RSpec::Core::ExampleGroup.class_eval do
  def rcall klass, method, params = {}      
    crystal.conveyors.services.call(
      :class => klass, :method_name => method.to_s, :params => Crystal::Params.new(params)
    )
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
crystal-0.0.13 lib/crystal/spec/remote.rb
crystal-0.0.12 lib/crystal/spec/remote.rb