Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

fix nil to_xs with CI_CAPTURE=off #48

Merged
merged 1 commit into from Dec 15, 2011

Conversation

Projects
None yet
2 participants

A fix for the below issue, seen when setting the environment variable CI_CAPTURE=off:

  1. TestSuite xml should render successfully with CI_CAPTURE off
    Failure/Error: xml = @suite.to_xml
    NoMethodError:
    undefined method `to_xs' for nil:NilClass

    ./lib/ci/reporter/test_suite.rb:89:in`to_xml'

    ./lib/ci/reporter/test_suite.rb:88:in `to_xml'

    ./lib/ci/reporter/test_suite.rb:84:in`to_xml'

    ./spec/ci/reporter/test_suite_spec.rb:71

nicksieger added a commit that referenced this pull request Dec 15, 2011

@nicksieger nicksieger merged commit 31895dc into ci-reporter:master Dec 15, 2011

Owner

nicksieger commented Dec 15, 2011

Thank you sir! Nice to see you here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment