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

thoughtbot / shoulda

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 855
    • 94
  • Source
  • Commits
  • Network (94)
  • Issues (60)
  • Downloads (15)
  • Wiki (9)
  • Graphs
  • Tree: 7d6aa5b

click here to add a description

click here to add a homepage

  • Branches (4)
    • master
    • rails3
    • remove_test_rails_root
    • should_accept_nested_attributes_for
  • Tags (15)
    • v2.10.3
    • v2.10.2
    • v2.10.1
    • v2.10.0
    • v2.9.1
    • v2.9.0
    • v2.0.6
    • v2.0.5
    • v2.0.4
    • v2.0.3
    • v2.0.2
    • v2.0.1
    • v2.0.0
    • 4.1.1
    • 4.1
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.

Makes tests easy on the fingers and the eyes — Read more

  cancel

http://www.thoughtbot.com/projects/shoulda

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

This URL has Read+Write access

added rspec matcher for validates_format_of 
stevenbristol (author)
Fri May 15 14:02:44 -0700 2009
dancroak (committer)
Sat May 16 13:46:11 -0700 2009
commit  7d6aa5b6ecceef0bef3399bc328275a3700e06ac
tree    2df8b1e1ae9c434fc45edb568c59e568f6e70a59
parent  272ad4ee1df0e54861112d1a5a81e32729f4ede0
shoulda / lib / shoulda / action_controller.rb lib/shoulda/action_controller.rb
100644 27 lines (23 sloc) 0.624 kb
edit raw blame history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require 'shoulda'
require 'shoulda/action_controller/matchers'
require 'shoulda/action_controller/macros'
 
module Test # :nodoc: all
  module Unit
    class TestCase
      include Shoulda::ActionController::Matchers
      extend Shoulda::ActionController::Macros
    end
  end
end
 
require 'shoulda/active_record/assertions'
require 'shoulda/action_mailer/assertions'
 
module ActionController #:nodoc: all
  module Integration
    class Session
      include Shoulda::Assertions
      include Shoulda::Helpers
      include Shoulda::ActiveRecord::Assertions
      include Shoulda::ActionMailer::Assertions
    end
  end
end
 
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