Sha256: 5340cf2e838b1066455b31fa30cb7a3d73e9d26e5632a2b69099eaa20d524c11

Contents?: true

Size: 447 Bytes

Versions: 12

Compression:

Stored size: 447 Bytes

Contents

path = File.expand_path("#{File.dirname(__FILE__)}/../lib")
$LOAD_PATH.unshift(path)

require "rorvswild"
require "minitest/autorun"
require "mocha/mini_test"
require "top_tests"

module RorVsWildAgentHelper
  def agent
    @agent ||= initialize_agent(app_root: File.dirname(__FILE__))
  end

  def initialize_agent(options = {})
    agent ||= RorVsWild.start(options)
    agent.stubs(:post_request)
    agent.stubs(:post_job)
    agent
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rorvswild-1.1.1 test/helper.rb
rorvswild-1.1.0 test/helper.rb
rorvswild-1.0.1 test/helper.rb
rorvswild-1.0.0 test/helper.rb
rorvswild-1.0.0.pre.alpha8 test/helper.rb
rorvswild-1.0.0.pre.alpha7 test/helper.rb
rorvswild-1.0.0.pre.alpha6 test/helper.rb
rorvswild-1.0.0.pre.alpha5 test/helper.rb
rorvswild-1.0.0.pre.alpha4 test/helper.rb
rorvswild-1.0.0.pre.alpha3 test/helper.rb
rorvswild-1.0.0.pre.alpha2 test/helper.rb
rorvswild-1.0.0.pre.alpha test/helper.rb