public
Description: Makes tests easy on the fingers and the eyes
Homepage: http://www.thoughtbot.com/projects/shoulda
Clone URL: git://github.com/thoughtbot/shoulda.git
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
100644 27 lines (23 sloc) 0.624 kb
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