Sha256: 05c370230f22a6fa3429ca51ad98551902995e1c031fb0343f67d0ed5949dafc

Contents?: true

Size: 546 Bytes

Versions: 4

Compression:

Stored size: 546 Bytes

Contents

require File.dirname(__FILE__) + "/../test_helper"

module DeepTest
  unit_tests do
    test "number_of_agents is determined by options" do
      deployment = LocalDeployment.new Options.new(:number_of_agents => 4)
      assert_equal 4, deployment.number_of_agents
    end

    test "load_files simply loads each file provided" do
      deployment = LocalDeployment.new Options.new({})

      deployment.expects(:load).with(:file_1)
      deployment.expects(:load).with(:file_2)

      deployment.load_files([:file_1, :file_2])
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
deep_test_pre-2.0 test/deep_test/local_deployment_test.rb
jstorimer-deep-test-2.0.0 test/deep_test/local_deployment_test.rb
jstorimer-deep-test-0.2.0 test/deep_test/local_deployment_test.rb
jstorimer-deep-test-0.1.0 test/deep_test/local_deployment_test.rb