File: test_mab_kernel_method.rb

package info (click to toggle)
ruby-mab 0.0.1%2Bgit20120515.30414e4-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 136 kB
  • sloc: ruby: 604; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 219 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
require 'helper'

class TestMabKernelMethod < MiniTest::Unit::TestCase
  def test_kernel_method
    require 'mab/kernel_method'
    @a = 1
    assert_equal "<p>\n  <p>3</p>\n</p>", mab { p { p { @a + 2 } } }
  end
end