Skip to content

Commit

Permalink
Adding documentation for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
wbyoung committed Nov 11, 2013
1 parent 5242e88 commit 253a9b2
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,23 @@ Feel free to message me on Github (amatsuda) or Twitter (@a_matsuda) ☇☇☇

== Contributing to Kaminari

* Fork, fix, then send me a pull request.
Fork, fix, then send a pull request.

To run the test suite locally against all supported frameworks:

% bundle install
% rake spec:all

To target the test suite against one framework:

% rake spec:active_record_40

You can find a list of supported spec tasks by running <tt>rake -T</tt>. You may also find it useful to run a specific test
for a specific framework. To do so, you'll have to first make sure you have bundled everything for that configuration,
then you can run the specific test:

% BUNDLE_GEMFILE='gemfiles/active_record_40.gemfile' bundle install
% BUNDLE_GEMFILE='gemfiles/active_record_40.gemfile' bundle exec rspec ./spec/requests/users_spec.rb


== Copyright
Expand Down

0 comments on commit 253a9b2

Please sign in to comment.