mirror of
https://github.com/github/rails.git
synced 2026-02-16 09:05:14 -05:00
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
9 lines
235 B
Ruby
9 lines
235 B
Ruby
require 'test/unit'
|
|
require File.dirname(__FILE__) + '/../../lib/active_support/core_ext/symbol'
|
|
|
|
class TestSymbol < Test::Case::TestUnit
|
|
def test_to_proc
|
|
assert_equal %w(one two three), [:one, :two, :three].map &:to_s
|
|
end
|
|
end
|