Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / spec / acceptance / time_spec.rb
diff --git a/3rdparty/modules/stdlib/spec/acceptance/time_spec.rb b/3rdparty/modules/stdlib/spec/acceptance/time_spec.rb
deleted file mode 100644 (file)
index b0a4564..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-require 'spec_helper_acceptance'
-
-describe 'time function' do
-  describe 'success' do
-    pp1 = <<-DOC
-      $o = time()
-      notice(inline_template('time is <%= @o.inspect %>'))
-    DOC
-    it 'gives the time' do
-      apply_manifest(pp1, :catch_failures => true) do |r|
-        m = r.stdout.match(%r{time is (\d+)\D})
-        # When I wrote this test
-        expect(Integer(m[1])).to be > 1_398_894_170
-      end
-    end
-
-    pp2 = <<-DOC
-      $o = time('UTC')
-      notice(inline_template('time is <%= @o.inspect %>'))
-    DOC
-    it 'takes a timezone argument' do
-      apply_manifest(pp2, :catch_failures => true) do |r|
-        m = r.stdout.match(%r{time is (\d+)\D})
-        expect(Integer(m[1])).to be > 1_398_894_170
-      end
-    end
-  end
-  describe 'failure' do
-    it 'handles more arguments'
-    it 'handles invalid timezones'
-  end
-end