The cacher was causing spec tests to fail due to Time.now not having
millisecond resolution on Windows. Now that usage of the cacher has
been removed from many places, these tests now pass.

Reviewed-by: Jacob Helwig <ja...@puppetlabs.com>
Signed-off-by: Josh Cooper <j...@puppetlabs.com>
---
Local-branch: ticket/master/8663-windows-spec-tests
 spec/integration/parser/ruby_manifest_spec.rb      |    2 +-
 spec/integration/resource/type_collection_spec.rb  |    2 +-
 spec/unit/indirector/file_bucket_file/file_spec.rb |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/spec/integration/parser/ruby_manifest_spec.rb 
b/spec/integration/parser/ruby_manifest_spec.rb
index b04baf5..7f3bb71 100755
--- a/spec/integration/parser/ruby_manifest_spec.rb
+++ b/spec/integration/parser/ruby_manifest_spec.rb
@@ -4,7 +4,7 @@ require 'spec_helper'
 require 'tempfile'
 require 'puppet_spec/files'
 
-describe "Pure ruby manifests", :fails_on_windows => true do
+describe "Pure ruby manifests" do
   include PuppetSpec::Files
 
   before do
diff --git a/spec/integration/resource/type_collection_spec.rb 
b/spec/integration/resource/type_collection_spec.rb
index 0852a98..6ea2e7f 100755
--- a/spec/integration/resource/type_collection_spec.rb
+++ b/spec/integration/resource/type_collection_spec.rb
@@ -4,7 +4,7 @@ require 'spec_helper'
 require 'puppet_spec/files'
 require 'puppet/resource/type_collection'
 
-describe Puppet::Resource::TypeCollection, :fails_on_windows => true do
+describe Puppet::Resource::TypeCollection do
   describe "when autoloading from modules" do
     include PuppetSpec::Files
 
diff --git a/spec/unit/indirector/file_bucket_file/file_spec.rb 
b/spec/unit/indirector/file_bucket_file/file_spec.rb
index ee0b61a..eb86eee 100755
--- a/spec/unit/indirector/file_bucket_file/file_spec.rb
+++ b/spec/unit/indirector/file_bucket_file/file_spec.rb
@@ -14,7 +14,7 @@ describe Puppet::FileBucketFile::File do
     Puppet::FileBucketFile::File.doc.should be_instance_of(String)
   end
 
-  describe "non-stubbing tests", :fails_on_windows => true do
+  describe "non-stubbing tests" do
     include PuppetSpec::Files
 
     before do
-- 
1.7.5.4

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to