diff options
-rw-r--r-- | spec/unit/provider/apt_preference_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/unit/provider/apt_preference_spec.rb b/spec/unit/provider/apt_preference_spec.rb index 85c10dcbba..55c277e6fe 100644 --- a/spec/unit/provider/apt_preference_spec.rb +++ b/spec/unit/provider/apt_preference_spec.rb @@ -61,7 +61,8 @@ describe Chef::Provider::AptPreference do FileUtils.touch("#{pref_dir}/libmysqlclient16.1*") end - it "creates a sanitized .pref file and removes the legacy cookbook files" do + # FileUtils.touch throws "Invalid argument @ utime_failed" in appveyer + it "creates a sanitized .pref file and removes the legacy cookbook files", :unix_only do provider.run_action(:add) expect(new_resource).to be_updated_by_last_action expect(File).not_to exist("#{pref_dir}/libmysqlclient16.1*.pref") |