Sha256: b60fa6ebdc952942a4a75a5c36c49137f64ec7e2c183ad04918d86eee3585944

Contents?: true

Size: 457 Bytes

Versions: 2

Compression:

Stored size: 457 Bytes

Contents

require 'assert'

require 'sanford/manager'

class Sanford::Manager

  class BaseTest < Assert::Context
    desc "Sanford::Manager"
    setup do
      @manager = Sanford::Manager.new(TestHost)
    end
    subject{ @manager }

    should have_instance_methods :host, :process_name, :call
    should have_class_methods :call
  end

  # Sanford::Manager#call methods are tested in the test/system/managing_test.rb
  # they require mocking the Daemons gem

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sanford-0.3.0 test/unit/manager_test.rb
sanford-0.2.0 test/unit/manager_test.rb