| Class | Camping::Test |
| In: |
lib/mosquito.rb
|
| Parent: | Test::Unit::TestCase |
The basic Mosquito-wielding test case with some infrastructure
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.