Permalink
Browse files

Expose bug in tag_list

  • Loading branch information...
1 parent 2ed57a3 commit d6d7498f1399ca086cc6754864db303938f9bd76 @atd atd committed Jun 17, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 spec/models/group_spec.rb
@@ -12,5 +12,14 @@
it "should have activity_object" do
Factory(:group).activity_object.should be_present
end
+
+ it "should save tag list" do
+ g = Factory(:group)
+
+ g.tag_list = "bla, ble"
+ g.save!
+
+ g.reload.tag_list.should be_present
+ end
end

0 comments on commit d6d7498

Please sign in to comment.