Class Camping::Test
In: lib/mosquito.rb
Parent: Test::Unit::TestCase

The basic Mosquito-wielding test case with some infrastructure

Methods

Included Modules

Mosquito::Dusty

Public Class methods

This is needed because Rails fixtures actually try to setup twice

Public Instance methods

project.ioni.st/post/217#post-217

 def test_new_publication
   assert_difference(Publication, :count) do
     post :create, :publication_title => ...
     # ...
   end
 end

Is the number of items different?

Can be used for increment and decrement.

The reverse of the reverse of the reverse of assert(condition)

[Validate]