RSpec::LegacyFormatters
This gem provides support for using legacy formatters (that is, those that were written against the RSpec 2 formatter API) with RSpec 3.
Installation
Add this line to your application's Gemfile:
gem 'rspec-legacy_formatters'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rspec-legacy_formatters
Usage
This gem MUST be required before the legacy formatter is loaded. We recommend
you use RSpec's --require
option, either from the command line:
$ rspec --require rspec/legacy_formatters --format MyCustomFormatter
...or by adding it to .rspec
:
--require rspec/legacy_formatters
Contributing
- Fork it ( http://github.com/rspec/rspec-legacy_formatters/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request