Cleanup tags to avoid non-unique value SQL error

This commit is contained in:
Andrey Chernih 2014-07-07 11:48:42 +04:00
parent 8958ce76c2
commit 40fcb57366

View file

@ -21,6 +21,7 @@ Tag.blueprint do
end
# these need to exist for stories to use them
Tag.destroy_all
Tag.make!(:tag => "tag1")
Tag.make!(:tag => "tag2")