On Aug 10, 2010, at 9:08 AM, Rick DeNatale wrote:
> On Mon, Aug 9, 2010 at 11:21 AM, David Chelimsky wrote:
>>> First of all, what's let! as opposed to let, I can't seem to find it
>>> via google or the latest draft of the book.
>>
>> http://rdoc.info/projects/rspec/rspec-core - search for let an
On Mon, Aug 9, 2010 at 11:21 AM, David Chelimsky wrote:
>> First of all, what's let! as opposed to let, I can't seem to find it
>> via google or the latest draft of the book.
>
> http://rdoc.info/projects/rspec/rspec-core - search for let and let!
>
>>
>> Second, unless let! is a new method which
On 9 Aug 2010, at 13:49, David Chelimsky wrote:
> Yes, eval'd in order. No, not explicitly stated, but I think it should be.
> Want to submit a patch with a spec for this?
Sure - I've made an action to write a spec for this. I guess the
implementation is not likely to change any time soon so
On Aug 9, 2010, at 10:06 AM, Rick DeNatale wrote:
> On Mon, Aug 9, 2010 at 8:49 AM, David Chelimsky wrote:
>>
>> On Aug 9, 2010, at 7:38 AM, Ashley Moran wrote:
>>
>>> Hi
>>>
>>> I was just about to replace a `before` block along the lines of:
>>>
>>> before(:each) do
>>>@cti_b_id = ser
On Mon, Aug 9, 2010 at 8:49 AM, David Chelimsky wrote:
>
> On Aug 9, 2010, at 7:38 AM, Ashley Moran wrote:
>
>> Hi
>>
>> I was just about to replace a `before` block along the lines of:
>>
>> before(:each) do
>> �...@cti_b_id = service.create(name: "Item-B")
>> �...@cti_z_id = service.create(
On Aug 9, 2010, at 7:38 AM, Ashley Moran wrote:
> Hi
>
> I was just about to replace a `before` block along the lines of:
>
> before(:each) do
>@cti_b_id = service.create(name: "Item-B")
>@cti_z_id = service.create(name: "Z-Item")
>@cti_a_id = service.create(name: "Item-A")
>#
Hi
I was just about to replace a `before` block along the lines of:
before(:each) do
@cti_b_id = service.create(name: "Item-B")
@cti_z_id = service.create(name: "Z-Item")
@cti_a_id = service.create(name: "Item-A")
# ...
end
with
let!(:cti_b_id) { ... }
let!(:cti_z_id)