diff options
author | Bryan McLellan <btm@opscode.com> | 2011-02-07 13:20:09 -0800 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2011-02-07 15:58:29 -0800 |
commit | c2d6250e8a01edfc901b0b6b6de63ea2d31fc22c (patch) | |
tree | 412b4918f23de249a667af2a956c7f28e173b720 /chef/spec/unit | |
parent | a678f430ef91fd7ad6af3f8b3353f96d12c5150e (diff) | |
download | chef-c2d6250e8a01edfc901b0b6b6de63ea2d31fc22c.tar.gz |
CHEF-1407 / CHEF-1794: pass priority to currently_enabled in tests
Diffstat (limited to 'chef/spec/unit')
-rw-r--r-- | chef/spec/unit/provider/service/debian_service_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chef/spec/unit/provider/service/debian_service_spec.rb b/chef/spec/unit/provider/service/debian_service_spec.rb index 8f1a6a0b93..7379d0314e 100644 --- a/chef/spec/unit/provider/service/debian_service_spec.rb +++ b/chef/spec/unit/provider/service/debian_service_spec.rb @@ -117,7 +117,7 @@ insserv: dryrun, not creating .depend.boot, .depend.start, and .depend.stop" end it "says the service is enabled" do - @provider.service_currently_enabled?.should be_true + @provider.service_currently_enabled?(@provider.get_priority).should be_true end it "stores the 'enabled' state" do @@ -150,7 +150,7 @@ insserv: dryrun, not creating .depend.boot, .depend.start, and .depend.stop" end it "says the service is disabled" do - @provider.service_currently_enabled?.should be_false + @provider.service_currently_enabled?(@provider.get_priority).should be_false end it "stores the 'disabled' state" do |