diff options
author | Francis Irving <francis@mysociety.org> | 2009-12-02 17:51:30 +0000 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2009-12-02 17:51:30 +0000 |
commit | 5f3139b538d1ff58b719a72d7c7cf05a5b6136b5 (patch) | |
tree | 13597cf6751df3122bfb1f1e5b1699e5c7ec5f93 /vendor/plugins/rspec-rails/README.rdoc | |
parent | dcf788cab6268a5c9830178d1bdff606f84132ce (diff) |
Part of upgrade to rails 2.3.2
Diffstat (limited to 'vendor/plugins/rspec-rails/README.rdoc')
-rw-r--r-- | vendor/plugins/rspec-rails/README.rdoc | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/vendor/plugins/rspec-rails/README.rdoc b/vendor/plugins/rspec-rails/README.rdoc new file mode 100644 index 000000000..b74fc0881 --- /dev/null +++ b/vendor/plugins/rspec-rails/README.rdoc @@ -0,0 +1,45 @@ += Spec::Rails + +* http://rspec.info +* http://rubyforge.org/projects/rspec +* http://github.com/dchelimsky/rspec-rails +* http://wiki.github.com/dchelimsky/rspec/rails +* mailto:rspec-devel@rubyforge.org + +== DESCRIPTION: + +Behaviour Driven Development for Ruby on Rails. + +rspec-rails is an RSpec extension that allows you to drive the development of +Ruby on Rails applications with RSpec. + +== FEATURES: + +* Use RSpec to independently specify Rails Models, Views, Controllers and Helpers +* Integrated fixture loading +* Special generators for Resources, Models, Views and Controllers that generate RSpec code examples. + +== VISION: + +For people for whom TDD is a brand new concept, the testing support built into +Ruby on Rails is a huge leap forward. The fact that it is built right in is +fantastic, and Ruby on Rails apps are generally much easier to maintain than +they might have been without such support. + +For those of us coming from a history with TDD, and now BDD, the existing +support presents some problems related to dependencies across examples. To +that end, RSpec on Rails supports 4 types of examples. We’ve also built in +first class mocking and stubbing support in order to break dependencies across +these different concerns. + +== MORE INFORMATION: + +See Spec::Rails::Example for information about the different kinds of example +groups you can use to spec the different Rails components + +See Spec::Rails::Matchers for information about Rails-specific +expectations you can set on responses and models, etc. + +== INSTALL + +* Visit http://wiki.github.com/dchelimsky/rspec/rails for installation instructions. |