Sha256: fb9ce67594e3fb5d02e05583f28bdf2b066c602f7dd14c3c9900e7c9203be0ab
Contents?: true
Size: 764 Bytes
Versions: 2
Compression:
Stored size: 764 Bytes
Contents
# :enddoc: if defined?(ActionController) require 'shoulda/matchers/action_controller' class ActionController::TestCase include Shoulda::Matchers::ActionController extend Shoulda::Matchers::ActionController def subject @controller end end end if defined?(ActionMailer) require 'shoulda/matchers/action_mailer' module Test module Unit class TestCase include Shoulda::Matchers::ActionMailer extend Shoulda::Matchers::ActionMailer end end end end if defined?(ActiveRecord) require 'shoulda/matchers/active_record' module Test module Unit class TestCase include Shoulda::Matchers::ActiveRecord extend Shoulda::Matchers::ActiveRecord end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shoulda-matchers-1.0.0.beta2 | lib/shoulda/matchers/integrations/test_unit.rb |
shoulda-matchers-1.0.0.beta1 | lib/shoulda/matchers/integrations/test_unit.rb |