[rspec-users] Wording describe/it so specdocs look good
edward.og at gmail.com
Thu Jul 5 16:24:40 EDT 2007
Does this work?
describe Agent, "rated by a user with the same kind of transaction" do
it 'should not be rated twice' do
> 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"
> 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
>> describe Agent do
>> it 'should be createable' do
>> # stuff
>> work for you?
>> rspec-users mailing list
>> rspec-users at rubyforge.org
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users