nicksieger/ci_reporter — Issue #54: rspec and ruby 1.9.3 not working
Author: gogogarrett
Created: 2012-02-27 22:17:59+00:00
State: open

/Users/heinleng/.rvm/gems/ruby-1.9.3-p0/gems/ci_reporter-1.7.0/lib/ci/reporter/rspec.rb:203:in `write_report': undefined method `finish' for nil:NilClass (NoMethodError)

https://github.com/nicksieger/ci_reporter/blob/master/lib/ci/reporter/rspec.rb#L206 This is the line that's failing. @suite is nil, and I have no idea how to fix it.

Ruby => ruby-1.9.3-p0
Rspec => rspec-rails (2.8.1)

This is my Rakefile:

#!/usr/bin/env rake
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)
require 'rspec/core/rake_task'
require 'ci/reporter/rake/rspec'

RSpec::Core::RakeTask.new(:all => ["ci:setup:rspec"]) do |t|
t.pattern = 'spec/**/*'
end

TestingCi::Application.load_tasks