Created
January 16, 2015 12:00
-
-
Save DBMoUK/b5161dca6d301eb26bab to your computer and use it in GitHub Desktop.
Deprecation Warning - RSpec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Solution Lab_PackageFileService manifest behaves like a solution manifest on first application should have empty stderr | |
Failure/Error: expect(r.stderr).to eq("") | |
expected: "" | |
got: "\e[1;31mWarning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.\n (at /usr/lib/ruby/site_ruby/1.8/puppet/type/package.rb:430:in `default')\e[0m\n" | |
(compared using ==) | |
Diff: | |
@@ -1 +1,3 @@ | |
+Warning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false. | |
+ (at /usr/lib/ruby/site_ruby/1.8/puppet/type/package.rb:430:in `default') | |
Shared Example Group: "a solution manifest" called from ./spec/acceptance/courses/fundamentals/Modules_and_Classes/Lab_PackageFileService_spec.rb:39 | |
# ./spec/solution_manifest_spec.rb:11:in `block (4 levels) in <top (required)>' | |
# ./spec/solution_manifest_spec.rb:10:in `block (3 levels) in <top (required)>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment