[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [websites/inqlude] spec/unit: Explicitly handle output
From: Cornelius Schumacher <schumacher () kde ! org>
Date: 2016-10-15 22:49:43
Message-ID: E1bvXlv-0003rJ-FF () code ! kde ! org
[Download RAW message or body]
Git commit 49303c0687f2152562c28dea6f3f349543882b71 by Cornelius Schumacher.
Committed on 15/10/2016 at 08:45.
Pushed by cschumac into branch 'master'.
Explicitly handle output
If we don't expect output here, it gets written to stdout in between
the test output.
M +3 -1 spec/unit/kde_frameworks_release_spec.rb
http://commits.kde.org/websites/inqlude/49303c0687f2152562c28dea6f3f349543882b71
diff --git a/spec/unit/kde_frameworks_release_spec.rb b/spec/unit/kde_frameworks_release_spec.rb
index 1a6627e..0889e3b 100644
--- a/spec/unit/kde_frameworks_release_spec.rb
+++ b/spec/unit/kde_frameworks_release_spec.rb
@@ -43,7 +43,9 @@ EOT
it "writes release manifests" do
k = KdeFrameworksRelease.new @manifest_handler
- k.read_generic_manifests
+ expect {
+ k.read_generic_manifests
+ }.to output.to_stdout
expected_output = <<EOT
Writing release manifests for version '4.9.90'...
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic