git://git.eng.unimelb.edu.au
/
ruby_koans.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5843f6
)
Fixed test_symbols_with_spaces_can_be_built method name collision.
author
Jim Weirich
<jim.weirich@gmail.com>
Thu, 21 Oct 2010 11:02:10 +0000
(07:02 -0400)
committer
Jim Weirich
<jim.weirich@gmail.com>
Thu, 21 Oct 2010 11:02:10 +0000
(07:02 -0400)
src/about_symbols.rb
patch
|
blob
|
history
diff --git
a/src/about_symbols.rb
b/src/about_symbols.rb
index
7a2e19a
..
705c2e3
100644
(file)
--- a/
src/about_symbols.rb
+++ b/
src/about_symbols.rb
@@
-53,7
+53,7
@@
class AboutSymbols < EdgeCase::Koan
assert_equal symbol, __("cats and dogs").to_sym
end
- def test_symbols_with_
spaces
_can_be_built
+ def test_symbols_with_
interpolation
_can_be_built
value = "and"
symbol = :"cats #{value} dogs"