Skip to content

Common code needed by the other RSpec gems. Not intended for direct use.

License

Notifications You must be signed in to change notification settings

rspec/rspec-support

Repository files navigation

RSpec::Support Build Status

RSpec::Support provides common functionality to RSpec::Core, RSpec::Expectations and RSpec::Mocks. It is considered suitable for internal use only at this time.

Installation / Usage

Install one or more of the RSpec gems.

Want to run against the main branch? You'll need to include the dependent RSpec repos as well. Add the following to your Gemfile:

%w[rspec-core rspec-expectations rspec-mocks rspec-support].each do |lib|
  gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => 'main'
end

Contributing

Once you've set up the environment, you'll need to cd into the working directory of whichever repo you want to work in. From there you can run the specs and cucumber features, and make patches.

NOTE: You do not need to use rspec-dev to work on a specific RSpec repo. You can treat each RSpec repo as an independent project.

Patches

Please submit a pull request or a github issue. If you submit an issue, please include a link to either of:

  • a gist (or equivalent) of the patch
  • a branch or commit in your github fork of the repo