Class: Protest::Rails::TestCase

Inherits:
TestCase
  • Object
show all
Includes:
ActiveSupport::Testing::Assertions, TransactionalTests, Test::Unit::Assertions
Defined in:
lib/protest/rails.rb

Overview

You should inherit from this TestCase in order to get rails’ helpers loaded into Protest. These include all the assertions bundled with rails and your tests being wrapped in a transaction.

Direct Known Subclasses

RequestTest

Method Summary

Methods included from TransactionalTests

#run

Methods inherited from TestCase

after, #assert, #assert_block, before, context, global_setup, global_teardown, #initialize, it, #name, #pending, #run, run, scenario, setup, should, teardown, test, tests

Constructor Details

This class inherits a constructor from Protest::TestCase