summaryrefslogtreecommitdiff
path: root/lib/chef/role.rb
diff options
context:
space:
mode:
authorBen Somers <somers.ben@gmail.com>2014-06-08 18:15:48 -0700
committerBen Somers <somers.ben@gmail.com>2014-06-08 18:16:05 -0700
commitb699fe1acd31379524a7e52883a4ec5ba79a1990 (patch)
treeb02e84bc8627eeef47a81afdb5d53d4227757cd7 /lib/chef/role.rb
parenta93af4060369f23299652b92fdc451468a3e5534 (diff)
downloadchef-b699fe1acd31379524a7e52883a4ec5ba79a1990.tar.gz
Fixed specs for Chef::Role.from_disk
Specs were broken because of rebasing the glob_roles patch onto the current master. Also removed an exception raise I'd accidentally left in.
Diffstat (limited to 'lib/chef/role.rb')
-rw-r--r--lib/chef/role.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/chef/role.rb b/lib/chef/role.rb
index 26bf574737..a299a1a2d0 100644
--- a/lib/chef/role.rb
+++ b/lib/chef/role.rb
@@ -251,8 +251,6 @@ class Chef
role.name(name)
role.from_file(rb_path)
return role
- else
- raise Chef::Exceptions::RoleNotFound, "Role '#{name}' could not be loaded from disk"
end
end