Project

General

Profile

« Previous | Next » 

Revision e9c19af4

Added by Ohad Levy almost 12 years ago

  • ID e9c19af463d5351a962b61efff74a92c792e6c47

minor cleanups to tests

  • allow to each test run by itself.
  • fix puppet environments test

View differences:

test/puppet_environment_test.rb
require 'test/test_helper'
require 'test_helper'
class PuppetEnvironmentTest < Test::Unit::TestCase
......
env = mock_puppet_env.first
assert_respond_to env, :classes
assert_kind_of Array, env.classes
Puppet::Node::Environment.clear
assert_kind_of Proxy::Puppet::PuppetClass, env.classes.first
end

Also available in: Unified diff