diff options
author | Dave Eddy <dave@daveeddy.com> | 2014-08-29 00:57:55 -0400 |
---|---|---|
committer | Bryan McLellan <btm@loftninjas.org> | 2014-08-29 07:58:48 -0400 |
commit | fe2fb6105029a4690cbeeca79cfa12b6c31beec0 (patch) | |
tree | 86aab6ed18b9cc19a2e9f7db7f947144729d4c26 /spec/unit/provider/service/freebsd_service_spec.rb | |
parent | 9c751ebe894040a5333fe1ad191272ac51cbdf86 (diff) | |
download | chef-fe2fb6105029a4690cbeeca79cfa12b6c31beec0.tar.gz |
combine "no" and "none" freebsd services based on @btm comment
Diffstat (limited to 'spec/unit/provider/service/freebsd_service_spec.rb')
-rw-r--r-- | spec/unit/provider/service/freebsd_service_spec.rb | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/spec/unit/provider/service/freebsd_service_spec.rb b/spec/unit/provider/service/freebsd_service_spec.rb index c2d6e041ba..6e58e82b97 100644 --- a/spec/unit/provider/service/freebsd_service_spec.rb +++ b/spec/unit/provider/service/freebsd_service_spec.rb @@ -250,17 +250,7 @@ PS_SAMPLE end end - %w{No NO no}.each do |setting| - context "when the enable variable is set to #{setting}" do - let(:lines) { [ %Q{#{new_resource.service_name}_enable="#{setting}"} ] } - it "sets enabled to false" do - provider.determine_enabled_status! - expect(current_resource.enabled).to be false - end - end - end - - %w{None NONE none}.each do |setting| + %w{No NO no nO None NONE none nOnE}.each do |setting| context "when the enable variable is set to #{setting}" do let(:lines) { [ %Q{#{new_resource.service_name}_enable="#{setting}"} ] } it "sets enabled to false" do |