Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

:'' is not valid ruby.

  • Loading branch information...
commit 757bbd540cadc47b8f9d6b9d6bc7bb3cb638d022 1 parent 297cf0b
José Valim josevalim authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/test/generators/generated_attribute_test.rb
2  railties/test/generators/generated_attribute_test.rb
View
@@ -117,7 +117,7 @@ def test_nil_type_raises_exception
def test_missing_type_raises_exception
assert_raise Thor::Error do
- create_generated_attribute(:'', 'title')
+ create_generated_attribute('', 'title')
end
end
end

2 comments on commit 757bbd5

Jeremy Kemper
Owner

:'' is valid ruby in 1.8.8 and later

José Valim
Owner

A-ha, good to know!

Please sign in to comment.
Something went wrong with that request. Please try again.