Sha256: 35752d9f4d59aa29007f4176e03ab78b8598220906333549ce887fd1182f9d0a

Contents?: true

Size: 320 Bytes

Versions: 3

Compression:

Stored size: 320 Bytes

Contents

require 'test_helper'


class SetupTest < Minitest::Test

  def setup
    @context = NewRelic::Binding::Context.new('license_key')
  end


  def test_create_agent
    setup = NewRelic::Plugin::AgentSetup.new
    @context.expects(:version=).with('0.0.1')
    setup.create_agent(@context, 'testing_agent', nil)
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newrelic_plugin-1.3.1 test/newrelic_plugin/setup_test.rb
newrelic_plugin-1.3.0 test/newrelic_plugin/setup_test.rb
newrelic_plugin-1.2.1 test/newrelic_plugin/setup_test.rb