Skip to content

Instantly share code, notes, and snippets.

@clarknelson
Created May 14, 2014 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clarknelson/1ee58d6fb03e20763d40 to your computer and use it in GitHub Desktop.
Save clarknelson/1ee58d6fb03e20763d40 to your computer and use it in GitHub Desktop.
36 in_ruby_version("mri") do
37 RubyConstant = "What is the sound of one hand clapping?"
38 def test_constants_become_symbols
39 all_symbols_as_strings = Symbol.all_symbols.map { |x| x.to_s }
40
41 assert_equal false, all_symbols_as_strings.include?(RubyConstant)
42 end
43 end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment