Permalink
Browse files

Yucky bug

  • Loading branch information...
1 parent 1a37f2c commit c34be8e635586de92f5f6c1c57bd17e31a1d48ee @benlangfeld committed Nov 6, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 about_symbols.rb
View
@@ -36,9 +36,9 @@ def test_method_names_become_symbols
in_ruby_version("mri") do
RubyConstant = "What is the sound of one hand clapping?"
def test_constants_become_symbols
- all_symbols = Symbol.all_symbols
+ all_symbols = Symbol.all_symbols.map &:to_s
- assert_equal true, all_symbols.include?(:"What is the sound of one hand clapping?")
+ assert_equal true, all_symbols.include?("RubyConstant")
end
end

0 comments on commit c34be8e

Please sign in to comment.