summaryrefslogtreecommitdiff
path: root/chef/spec/unit/run_list
diff options
context:
space:
mode:
authorSeth Falcon <seth@opscode.com>2010-11-17 13:12:53 -0800
committerTim Hinderliter <tim@opscode.com>2011-03-17 16:56:43 -0700
commit300e2d9b5aad97287e2d1750cdadfc9555441741 (patch)
treebe0735f0d5e3cb4cc0672cfe8c3246a0528dccc1 /chef/spec/unit/run_list
parent452a3dbde9fe4fa834f71a8c3a42d61905e48221 (diff)
downloadchef-300e2d9b5aad97287e2d1750cdadfc9555441741.tar.gz
Remove RecipeVersionConflict, use CookbookVersionConflict instead
Only cookbooks have versions, not recipes.
Diffstat (limited to 'chef/spec/unit/run_list')
-rw-r--r--chef/spec/unit/run_list/versioned_recipe_list_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/spec/unit/run_list/versioned_recipe_list_spec.rb b/chef/spec/unit/run_list/versioned_recipe_list_spec.rb
index 98120aed45..86c8691adb 100644
--- a/chef/spec/unit/run_list/versioned_recipe_list_spec.rb
+++ b/chef/spec/unit/run_list/versioned_recipe_list_spec.rb
@@ -70,7 +70,7 @@ describe Chef::RunList::VersionedRecipeList do
it "should not allow multiple versions of the same recipe" do
@list.add_recipe "rails", "1.0.0"
- lambda {@list.add_recipe "rails", "0.1.0"}.should raise_error Chef::Exceptions::RecipeVersionConflict
+ lambda {@list.add_recipe "rails", "0.1.0"}.should raise_error Chef::Exceptions::CookbookVersionConflict
end
end