aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/symbol.rb
blob: ae2c585fc23ad3a86fa82b1d64bda8c9e09ea794 (plain) (blame)
1
2
3
4
5
6
7
8
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