Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / spec / acceptance / to_bytes_spec.rb
diff --git a/3rdparty/modules/stdlib/spec/acceptance/to_bytes_spec.rb b/3rdparty/modules/stdlib/spec/acceptance/to_bytes_spec.rb
deleted file mode 100644 (file)
index f042fe0..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-require 'spec_helper_acceptance'
-
-describe 'to_bytes function' do
-  describe 'success' do
-    pp = <<-DOC
-      $o = to_bytes('4 kB')
-      notice(inline_template('to_bytes is <%= @o.inspect %>'))
-    DOC
-    it 'converts kB to B' do
-      apply_manifest(pp, :catch_failures => true) do |r|
-        m = r.stdout.match(%r{to_bytes is (\d+)\D})
-        expect(m[1]).to eq('4096')
-      end
-    end
-    it 'works without the B in unit'
-    it 'works without a space before unit'
-    it 'works without a unit'
-    it 'converts fractions'
-  end
-  describe 'failure' do
-    it 'handles no arguments'
-    it 'handles non integer arguments'
-    it 'handles unknown units like uB'
-  end
-end