Sha256: 55ba4340bc89ed4dc7148829136ff332010859f612ccda18107ac519b01897bc

Contents?: true

Size: 365 Bytes

Versions: 4

Compression:

Stored size: 365 Bytes

Contents

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

module DeepTest
  unit_tests do
    test "should support listener" do
      t = TestTask.new :deep_test do |t|
        t.stubs(:desc)
        t.stubs(:task)
        t.listener = "A"
      end
      assert_equal "A", t.instance_variable_get(:@options).listener
      assert_equal "A", t.listener
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

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