RSpec base formatter #34

Merged
merged 1 commit into from Aug 29, 2011

Conversation

Projects
None yet
2 participants
@heathkit
Contributor

heathkit commented Jun 23, 2011

RSpec 2 allows you to use multiple formatters. I'm wanting to use a custom documentation formatter in my project along with CI reporter. However, the two ci_reporter formatters both delegate to either the documentation formatter or the base text formatter. This means if I make my own documentation formatter, I get the two outputs interleaved.

So I made a CI RSpec formatter that delegates to the base formatter. This will keep it from printing anything and interfering with my custom text formatters.

Though, I think for RSpec 2 at least, it might make sense to have the CI RSpec formatter not delegate at all, since the end user can use whatever other formatters as they want.

@nicksieger

This comment has been minimized.

Show comment Hide comment
@nicksieger

nicksieger Aug 29, 2011

Owner

Thanks!

Owner

nicksieger commented Aug 29, 2011

Thanks!

nicksieger added a commit that referenced this pull request Aug 29, 2011

@nicksieger nicksieger merged commit 27c44ce into ci-reporter:master Aug 29, 2011

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