Sha256: ca86c6dd1a68f30e893bc3b588414e86be9a273a085aa69093f75ce851c992e8

Contents?: true

Size: 507 Bytes

Versions: 1

Compression:

Stored size: 507 Bytes

Contents

require 'rspec_ext'

dir = File.dirname __FILE__
crystal_dir = File.expand_path "#{dir}/../.."
lib_dir = "#{crystal_dir}/lib"
$LOAD_PATH << lib_dir unless $LOAD_PATH.include? lib_dir

require 'crystal/remote'

require 'crystal/spec/remote'

RSpec::Core::ExampleGroup.class_eval do
  def self.with_remote_spec
    before :all do
      crystal.after :environment do
        crystal.conveyors.services do |ss|
          ss.use Crystal::Processors::RemoteCaller, :content
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
crystal-0.0.13 spec/remote/spec_helper.rb