Permalink
Browse files

Ignore already existing data bags for search test

  • Loading branch information...
1 parent e999edf commit 5d8e2c9d7b1748701ede56090f7634e4494566cf @seth seth committed Jul 19, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 features/data/search-tests/search-test-nodes.rb
@@ -73,7 +73,7 @@
items = []
bag = Chef::DataBag.new
bag.name "toys"
- bag.save
+ bag.save rescue nil
item = Chef::DataBagItem.new
item_data = {
"id" => "marbles",
@@ -102,7 +102,7 @@
items = []
bag = Chef::DataBag.new
bag.name "fruit"
- bag.save
+ bag.save rescue nil
item = Chef::DataBagItem.new
item_data = {
"id" => "citrus",

0 comments on commit 5d8e2c9

Please sign in to comment.