Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / spec / acceptance / bool2num_spec.rb
diff --git a/3rdparty/modules/stdlib/spec/acceptance/bool2num_spec.rb b/3rdparty/modules/stdlib/spec/acceptance/bool2num_spec.rb
deleted file mode 100644 (file)
index bf6611e..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-require 'spec_helper_acceptance'
-
-describe 'bool2num function' do
-  describe 'success' do
-    ['false', 'f', '0', 'n', 'no'].each do |bool|
-      pp1 = <<-DOC
-        $input = "#{bool}"
-        $output = bool2num($input)
-        notify { "$output": }
-      DOC
-      it "should convert a given boolean, #{bool}, to 0" do
-        apply_manifest(pp1, :catch_failures => true) do |r|
-          expect(r.stdout).to match(%r{Notice: 0})
-        end
-      end
-    end
-
-    ['true', 't', '1', 'y', 'yes'].each do |bool|
-      pp2 = <<-DOC
-        $input = "#{bool}"
-        $output = bool2num($input)
-        notify { "$output": }
-      DOC
-      it "should convert a given boolean, #{bool}, to 1" do
-        apply_manifest(pp2, :catch_failures => true) do |r|
-          expect(r.stdout).to match(%r{Notice: 1})
-        end
-      end
-    end
-  end
-end