[rspec-users] Wording describe/it so specdocs look good
s.ross
cwdinfo at gmail.com
Thu Jul 5 15:39:27 EDT 2007
For that simple case, yes. But how about the case where I specify:
Agent "should not be possible for the same user to rate the same
agent twice with same kind of transaction"
The English grammar gets a bit twisty. Perhaps:
Agent "should not allow the same user to rate the same agent twice
with the same kind of transaction"
Thoughts?
On Jul 5, 2007, at 12:19 PM, Edward Ocampo-Gooding wrote:
>> I'm looking through my specs and they work great, but they don't read
>> as English. I'm wondering how others are phrasing these. Here are
>> some examples:
>>
>> describe Agent do
>> it 'should be possible to create one' do
>> end
>> end
>
> Does
>
> describe Agent do
> it 'should be createable' do
> # stuff
> end
> end
>
> work for you?
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users
mailing list