# Problem with assert\_difference

**URL:** <https://www.ruby-forum.com/t/problem-with-assert-difference/117481>\
**Category:** Rails\
**Created:** [October 17, 2007, 10:37am UTC](https://www.ruby-forum.com/t/problem-with-assert-difference/117481 "2007-10-17T10:37:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirankinuforu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/977dab/32.png) [@kirankinuforu](https://www.ruby-forum.com/u/kirankinuforu)\
**Post date:** [October 17, 2007, 10:37am UTC](https://www.ruby-forum.com/t/problem-with-assert-difference/117481/1 "2007-10-17T10:37:12Z")

</div>

Hello Friends,

```
       I have problem with assert_difference, I want its syntax and

```

explantion in detail, Please help me, plz give me solution.

Regards,  
Kiran P.

---

<div class="post-metadata">

**Author:** ![kirankinuforu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/977dab/32.png) [@kirankinuforu](https://www.ruby-forum.com/u/kirankinuforu)\
**Post date:** [October 17, 2007, 10:43am UTC](https://www.ruby-forum.com/t/problem-with-assert-difference/117481/2 "2007-10-17T10:43:39Z")

</div>

On 17 Oct 2007, at 09:36, Kiran P. wrote:

> Hello Friends,
> 
> ```
> I have problem with assert_difference, I want its syntax  
> 
> ```
> 
> and explantion in detail, Please help me, plz give me solution.

It’s only in edge rails/rails 2.0, so the offical docs stuff doesn’t  
cover it yet. you can see the source & rdoc docs at http://  
[dev.rubyonrails.org/browser/trunk/activesupport/lib/active\_support/](http://dev.rubyonrails.org/browser/trunk/activesupport/lib/active_support/)  
core\_ext/test/unit/assertions.rb, there have also been various blog  
posts about it.

Fred
