Project

General

Profile

« Previous | Next » 

Revision eda861b3

Added by Ohad Levy almost 12 years ago

  • ID eda861b35c95e8f80a1a68498b38163cce531b6b

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