github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

dchelimsky / rspec-rails

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 826
    • 69
  • Source
  • Commits
  • Network (69)
  • Downloads (39)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (3)
    • 1.1-maintenance
    • master ✓
    • rails3
  • Tags (39)
    • 1.3.2
    • 1.3.1
    • 1.3.0
    • 1.2.9.rc1
    • 1.2.9
    • 1.2.7.rc1
    • 1.2.7.1
    • 1.2.7
    • 1.2.6.99
    • 1.2.6
    • 1.2.5
    • 1.2.4
    • 1.2.3
    • 1.2.2.1
    • 1.2.2
    • 1.2.1
    • 1.2.0
    • 1.1.99.16
    • 1.1.99.15
    • 1.1.99.14
    • 1.1.99.13
    • 1.1.99.12
    • 1.1.99.11
    • 1.1.99.10
    • 1.1.99.9
    • 1.1.99.6
    • 1.1.99.5
    • 1.1.99.4
    • 1.1.99.3
    • 1.1.99.2
    • 1.1.99.1
    • 1.1.12
    • 1.1.11
    • 1.1.10
    • 1.1.9
    • 1.1.8
    • 1.1.7
    • 1.1.5
    • 1.1.4
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

RSpec extension library for Ruby on Rails — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

memoize the helper in the example instead of in the group 
dchelimsky (author)
Mon Feb 08 17:11:28 -0800 2010
commit  2a51fba09356fe4a234ea43f4e7910e0c83e8d7f
tree    d886dad06c0237bc5b25b22aef2bcec37e1be7eb
parent  ec2cd945247240d857c78e78a98c7399c2199314
rspec-rails /
name age
history
message
file .document Sun Mar 22 15:32:58 -0700 2009 .rdoc [dchelimsky]
file .gitignore Fri Jan 16 22:37:34 -0800 2009 adding #description to have_text and include_te... [bmabey]
file Contribute.rdoc Wed Sep 02 01:13:53 -0700 2009 add Contribution info [dchelimsky]
file History.rdoc Mon Feb 08 17:05:07 -0800 2010 words [dchelimsky]
file License.txt Mon Feb 02 08:50:55 -0800 2009 update license [dchelimsky]
file Manifest.txt Mon Sep 14 02:54:35 -0700 2009 update manifest [dchelimsky]
file README.rdoc Sun Mar 22 15:32:58 -0700 2009 .rdoc [dchelimsky]
file Rakefile Mon Jan 11 19:11:49 -0800 2010 prep for 1.3.0 [dchelimsky]
file TODO.txt Mon Sep 14 02:38:54 -0700 2009 remove gen'd routing spec from controller gener... [dchelimsky]
file Upgrade.rdoc Wed Jan 13 06:16:20 -0800 2010 prep for 1.3.2 [dchelimsky]
directory generators/ Wed Jan 13 06:16:09 -0800 2010 only generate gem config for rspec-rails - it ... [dchelimsky]
file init.rb Thu Apr 03 15:03:45 -0700 2008 remove everything but rspec-rails from rspec-ra... [dchelimsky]
directory lib/ Mon Feb 08 17:11:28 -0800 2010 memoize the helper in the example instead of in... [dchelimsky]
directory spec/ Mon Feb 08 17:04:45 -0800 2010 helper instance variable no longer persists acr... [alex rothenberg]
README.rdoc

Spec::Rails

  • rspec.info
  • rubyforge.org/projects/rspec
  • github.com/dchelimsky/rspec-rails
  • wiki.github.com/dchelimsky/rspec/rails
  • 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 wiki.github.com/dchelimsky/rspec/rails for installation instructions.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server