Sha256: bd4fd85972ee1e8c0bd63b251bba388847a1ee0d7cc3095cc1a0f514fe3d67d8

Contents?: true

Size: 550 Bytes

Versions: 1

Compression:

Stored size: 550 Bytes

Contents

require 'helper'

class TestNtail < Test::Unit::TestCase

  should "have namespaced classes" do
    assert_equal "constant", defined? NginxTail
    assert NginxTail.is_a? Module

    assert_equal "constant", defined? NginxTail::LogLine
    assert NginxTail::LogLine.is_a? Class

    assert_equal "constant", defined? NginxTail::Application
    assert NginxTail::Application.is_a? Class
  end

  should "have namespaced modules" do
    assert_equal "constant", defined? NginxTail::Inflections
    assert NginxTail::Inflections.is_a? Module
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ntail-1.3.2 test/test_ntail.rb