On Wed, Oct 24, 2012 at 12:26 PM, Kevin McCaughey wrote:
> Hi,
>
> I am doing the rails tutorial and there is a line:
>
> expect { click_button submit }.not_to change(User, :count)
>
> When I looked up the rspec docs and book too, I found:
>
> change {} documentation (using curly brackets).
Not s
Hi,
I am doing the rails tutorial and there is a line:
expect { click_button submit }.not_to change(User, :count)
When I looked up the rspec docs and book too, I found:
change {} documentation (using curly brackets).
Could someone tell me what the difference is, and if I use a block for
the ab