Sha256: afac861de15e3643648c3e3fce1b6a772744961511fc5ca2ecb3a9f8ff904046
Contents?: true
Size: 488 Bytes
Versions: 1
Compression:
Stored size: 488 Bytes
Contents
require 'rubygems' require File.dirname(__FILE__) + '/test_helper.rb' require 'ninja_class' class TestNinjaDecorators < Test::Unit::TestCase def setup end def test_simple_around_filter ninja = NinjaClass.new assert_equal "common foo around", ninja.foo ninja.ret = "" assert_equal "common bar around", ninja.bar end def test_nested_around_filter ninja = NinjaClass.new assert_equal "nesting common nested around completed", ninja.nested end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
haruska-ninja-decorators-0.5.0 | test/test_ninja_decorators.rb |