Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please accept my suggestion for testing controllers with restricted access #464

Closed
wants to merge 13 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .yardopts
Expand Up @@ -4,3 +4,5 @@
--markup markdown
-
README.md
Changelog.md
License.txt
28 changes: 28 additions & 0 deletions DEV-README.md
@@ -0,0 +1,28 @@
## Set up the dev environment

git clone git://github.com/rspec/rspec-rails.git
cd rspec-rails
gem install bundler
bundle install

Now you should be able to run any of:

rake
rake spec
rake cucumber

Or, if you prefer to use the rspec and cucumber commands directly, you can either:

bundle exec rspec

Or ...

bundle install --binstubs
bin/rspec

## Customize the dev enviroment

The Gemfile includes the gems you'll need to be able to run specs. If you want
to customize your dev enviroment with additional tools like guard or
ruby-debug, add any additional gem declarations to Gemfile-custom (see
Gemfile-custom.sample for some examples).