Sha256: c3151d0e2760ef92ead4caad61d85696410e1bfdc1836ca3c14dfc16a21a5b02
Contents?: true
Size: 466 Bytes
Versions: 20
Compression:
Stored size: 466 Bytes
Contents
require "#{File.dirname(__FILE__)}/../../test_helper" class SymbolTest < Test::Unit::TestCase context "Symbol" do should "be able to compare to strings" do assert_equal [:a, :c, :b].sort, [:a, :b, :c] assert_nothing_raised do :a <=> :b end end should "have path separaters" do assert_equal :a / :b, "a/b" end should "classify the symbol" do assert_equal :C, :c.classify end end end
Version data entries
20 entries across 20 versions & 1 rubygems