aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/symbol_test.rb
blob: fec504d9d1fd87920662d0d33397b6913f896d51 (plain) (blame)
1
2
3
4
5
6
7
8
require 'test/unit'
require File.dirname(__FILE__) + '/../../lib/active_support/core_ext/symbol'

class SymbolTests < Test::Unit::TestCase
  def test_to_proc
    assert_equal %w(one two three), [:one, :two, :three].map(&:to_s)
  end
end