To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!More about adding a collaborator
To install Bogus, all you need to do is add:
to your Gemfile.
spec_helper.rb, require bogus:
Bogus will hook into RSpec on it's own, but if you want to be explicit about the used mock framework, you can put this in your
RSpec.configure do |c| # already done by requiring bogus/rspec c.mock_with Bogus::RSpecAdapter end
And configure it to look for classes in your namespace:
Bogus.configure do |c| c.search_modules << My::Namespace end
You will probably also want to create a configuration file for your fakes (for example
Bogus.fakes do # fakes go here end
and require it in your gem file:
Last published over 7 years ago by Adam Pohorecki.