This projects aims to be an open source effort to collect all the RSpec custom matchers & macros used across Byclosure projects.
Add this line to your application's Gemfile:
gem 'bc-rspec-matchers', "~> 0.0.3"
And then execute:
$ bundle install
Go to your RSpec configuration files and add:
RSpec.configure do |c| c.include Bc::RSpec::Matchers end
Development & Improvment of bc-rspec-matchers
To run specs in autotest enable just run:
bundle exec autotest.
To run specs, just run:
bundle exec rake spec
Add new gem dependencies
Atention: Do not use Gemfile for that, Gemfile will automatically be created for you.
- Go to bc-rspec-matchers.gem
- See and use the
gem.add_development_dependency(that works the same way as Gemfile depencies)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
Notes to Manage and improve this gem
Update & Release
- Update gem version:
bundle exec rake release