Permalink
Browse files

Patch to join tags by delimiter instead of ', '

Signed-off-by: James Golick <james@giraffesoft.ca>
  • Loading branch information...
1 parent 9499d96 commit 2a7a01d18182417877dda02bceb4a2dffa3ba708 @rrouse rrouse committed with Aug 19, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/is_taggable.rb
  2. +1 −1 test/is_taggable_test.rb
View
@@ -14,7 +14,7 @@ def initialize(list)
end
def to_s
- join(', ')
+ join(@@delimiter)
end
end
View
@@ -49,7 +49,7 @@
p.language_list
end
- expect "english, french" do
+ expect "english,french" do
p = Post.new :language_list => "english, french"
p.language_list.to_s
end

0 comments on commit 2a7a01d

Please sign in to comment.