From 40fcb57366bcf0edaf16aab0833a1f7cf1d1b6f4 Mon Sep 17 00:00:00 2001 From: Andrey Chernih Date: Mon, 7 Jul 2014 11:48:42 +0400 Subject: [PATCH] Cleanup tags to avoid non-unique value SQL error --- spec/support/blueprints.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/support/blueprints.rb b/spec/support/blueprints.rb index 6b65736..27ffa1b 100644 --- a/spec/support/blueprints.rb +++ b/spec/support/blueprints.rb @@ -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")