Sha256: a9c2b0aa6dcc0ec0c57027291f2aee8d4d017f5c65ab43f5185af529396bce64

Contents?: true

Size: 514 Bytes

Versions: 20

Compression:

Stored size: 514 Bytes

Contents

require "#{File.dirname(__FILE__)}/../../../test_helper"

include_fixture_resources

class LineResourceTest < Test::Unit::TestCase
  context "Base" do
    setup do
      PoolParty::Pool.init
      @res = PoolParty::Resources::Line.new "/etc/poolparty", :line => "hi hi"
      @base = DependencyResolvers::Chef
      @base.compile_directory = test_dir
    end
    
    should "have the method denoted by has_method_name (no output by :no_print)" do
      assert_nil @res.compile(:chef)
    end
        
  end
  
end

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
auser-poolparty-1.3.10 test/lib/poolparty/resources/line_test.rb
auser-poolparty-1.3.11 test/lib/poolparty/resources/line_test.rb
auser-poolparty-1.3.12 test/lib/poolparty/resources/line_test.rb
auser-poolparty-1.3.13 test/lib/poolparty/resources/line_test.rb
auser-poolparty-1.3.14 test/lib/poolparty/resources/line_test.rb
auser-poolparty-1.3.15 test/lib/poolparty/resources/line_test.rb
auser-poolparty-1.3.16 test/lib/poolparty/resources/line_test.rb
auser-poolparty-1.3.17 test/lib/poolparty/resources/line_test.rb
auser-poolparty-1.3.5 test/lib/poolparty/resources/line_test.rb
auser-poolparty-1.3.6 test/lib/poolparty/resources/line_test.rb
auser-poolparty-1.3.7 test/lib/poolparty/resources/line_test.rb
auser-poolparty-1.3.8 test/lib/poolparty/resources/line_test.rb
fairchild-poolparty-1.3.17 test/lib/poolparty/resources/line_test.rb
fairchild-poolparty-1.3.5 test/lib/poolparty/resources/line_test.rb
poolparty-1.3.15 test/lib/poolparty/resources/line_test.rb
poolparty-1.3.14 test/lib/poolparty/resources/line_test.rb
poolparty-1.3.13 test/lib/poolparty/resources/line_test.rb
poolparty-1.3.8 test/lib/poolparty/resources/line_test.rb
poolparty-1.3.7 test/lib/poolparty/resources/line_test.rb
poolparty-1.3.6 test/lib/poolparty/resources/line_test.rb