I am trying to create a app that makes use of EventMachine.
As I recently fell in love with Rspec, I was trying to use it with our
EM. However, I have no idea how to do this. Also, I want to remove
network connections from the tests (as I might not be connected when
running them), so I think I sho
>> Never let the facts get it the way of a good headline?
This is typical of rubyflow. I wouldn't worry about it too much.
It was only a matter of time before the unfortunate political climate
of the Rails community started bleeding into our party.
Please don't let this get in the way of learni
Subject: [rspec-users] Caboosers drop RSpec
The subject is wrong too; Caboosers didn't drop RSpec. Two people
from caboose dropped RSpec. Most of the caboosers I know are still
using RSpec.
Any responses to http://blog.caboo.se/articles/2008/11/4/we-ve-stopped-using-rspec
? How much of
> I screwed up the repo on github and a bunch of commits are missing.
> So I'm hoping that there are a couple people out there that have
> pulled fairly recently (ideally on 4/15), but not today. If so, can
> you please tar up your entire rspec-dev project and email it to me so
> I can try to fix
>> If you were to write an example that creates two models, and ensures
>> that the duplicate errored appropriately, my "rule" is violated.
>> Each
>> of your examples is then specifying the behaviour of the
>> validates_uniqueness_of method, which you didn't write.
>
> I don't really agree with
>>
> The test asserts that you call validates_uniqueness_of, but it doesn't
> actually test your logic.
> So it's useful to see if someone accidentally deletes your code, but
> if you have
>
>validates_uniqueness_of :user, :scope => :project_id
>
> or something more complex, it won't test thi
> Hi all - does anyone know of a good blog post or wiki or something
> with a good guide to mocking? I've got some degree of responsibility
> for people who are creating mocks. I'm supposed to actually be telling
> them the best way to do it.
There's ots of good stuff in here:
http://martinfowler