blob: 18ecdd2851f34e64c1d079472a7e8b30b943dee7 (
plain) (
tree)
|
|
require 'helper'
module Arel
module Nodes
class TestNamedFunction < MiniTest::Unit::TestCase
def test_construct
function = NamedFunction.new 'omg', 'zomg'
assert_equal 'omg', function.name
assert_equal 'zomg', function.expressions
end
end
end
end
|