(maint) use rspec-mock for unit tests
[puppet-modules/puppetlabs-apt.git] / .sync.yml
index ad63bcd99bddf7dc5b0bafd1166b3ab26a1014dd..efaa46761fb723202bde3a38a19f7c2ee272adcc 100644 (file)
--- a/.sync.yml
+++ b/.sync.yml
@@ -1,4 +1,14 @@
 ---
+.gitlab-ci.yml:
+  unmanaged: true
+
+.rubocop.yml:
+   default_configs:
+    inherit_from: .rubocop_todo.yml
+    require:
+      - rubocop-i18n
+      - rubocop-rspec
+
 .travis.yml:
   docker_sets:
     - set: docker/debian-8
@@ -9,6 +19,9 @@
   branches:
     - release
 
+appveyor.yml:
+  delete: true
+
 Gemfile:
   required:
     ':system_tests':
@@ -27,19 +40,10 @@ Gemfile:
         condition: "Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')"
       - gem: puppet-lint-i18n
 
-.rubocop.yml:
-   default_configs:
-    inherit_from: .rubocop_todo.yml
-    require:
-      - rubocop-i18n
-      - rubocop-rspec
-
 Rakefile:
   requires:
     - puppet_pot_generator/rake_tasks
 
-appveyor.yml:
-  delete: true
-
-.gitlab-ci.yml:
-  unmanaged: true
+spec/spec_helper.rb:
+  mock_with: ':rspec'
+  coverage_report: true