Sha256: 84e44220b45ee14117257b7689d2811f8967f109630021d23bcc8b8e7390b73b
Contents?: true
Size: 557 Bytes
Versions: 5
Compression:
Stored size: 557 Bytes
Contents
require 'riak/test_server' unless $test_server begin require 'yaml' config = YAML.load_file("spec/support/test_server.yml") $test_server = Riak::TestServer.new(config.symbolize_keys) $test_server.prepare! $test_server.start Ripple.config = {:port => 9000 } at_exit { $test_server.cleanup } rescue => e warn "Can't run Riak::TestServer specs. Specify the location of your Riak installation in spec/support/test_server.yml. See Riak::TestServer docs for more info." warn e.inspect $test_server = nil end end
Version data entries
5 entries across 5 versions & 1 rubygems