Browse files

Fix report manager spec long file name

  • Loading branch information...
1 parent 27c44ce commit 6f00e20a20cbfe6073b67b627bd838288fac2085 @nicksieger nicksieger committed Sep 21, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 spec/ci/reporter/report_manager_spec.rb
@@ -1,4 +1,4 @@
-# Copyright (c) 2006-2010 Nick Sieger <>
+# Copyright (c) 2006-2011 Nick Sieger <>
# See the file LICENSE.txt included with the distribution for
# software license details.
@@ -18,14 +18,14 @@"spec") be_true
it "should create the report directory based on CI_REPORTS environment variable if set" do
@reports_dir = "#{Dir.getwd}/dummy"
ENV["CI_REPORTS"] = @reports_dir"spec") be_true
it "should write reports based on name and xml content of a test suite" do
reporter ="spec")
suite = mock("test suite")
@@ -43,7 +43,7 @@
suite.should_receive(:name).and_return("some test suite name that goes on and on and on and on and on and on and does not look like it will end any time soon and just when you think it is almost over it just continues to go on and on and on and on and on until it is almost over but wait there is more and then el fin")
- filename = "#{REPORTS_DIR}/SPEC-some-test-suite-name-that-goes-on-and-on-and-on-and-on-and-on-and-on-and-does-not-look-like-it-will-end-any-time-soon-and-just-when-you-think-it-is-almost-over-it-just-continues-to-go-on.xml"
+ filename = "#{REPORTS_DIR}/SPEC-some-test-suite-name-that-goes-on-and-on-and-on-and-on-and-on-and-on-and-does-not-look-like-it-will-end-any-time-soon-and-just-when-you-think-it-is-almost-over-it-just-continues-t.xml"
File.exist?(filename).should be_true {|f| == "<xml></xml>"}

0 comments on commit 6f00e20

Please sign in to comment.