* David Chelimsky [2011-12-07]:
> Nikolay - just because they're shareable doesn't mean they have to be
> shared :) As Pat suggests, you can use them to specify a subset of a
> single object's API. That said, one goal of thinking of roles is code
> that is easy to extend thanks to polymorphism. You
How about this?
paypal_error = mock('paypal_error')
paypal_error.should_receive(:deliver)
Notifier.should_receive(:paypal_error).with(@errors, hash_including({ :post_id
=> @post.id,
:user_id => @user.id,
Em 09-12-2011 15:14, Rodrigo Rosenfeld Rosas escreveu:
While running some specs of a new fresh Rails 3.1 project with latest
Rspec, I'm getting some strange time reporting (using --drb and spork):
Finished in 731.67 seconds
10 examples, 0 failures
But it actually run "time rake" in less than 2
While running some specs of a new fresh Rails 3.1 project with latest
Rspec, I'm getting some strange time reporting (using --drb and spork):
Finished in 731.67 seconds
10 examples, 0 failures
But it actually run "time rake" in less than 2s. "time rspec" runs in
about 0.2s.
The finished time
On Dec 9, 2011, at 11:15 AM, Rodrigo Rosenfeld Rosas
wrote:
> Em 09-12-2011 15:14, Rodrigo Rosenfeld Rosas escreveu:
>> While running some specs of a new fresh Rails 3.1 project with latest Rspec,
>> I'm getting some strange time reporting (using --drb and spork):
>>
>> Finished in 731.67 seco
Em 09-12-2011 15:43, David Chelimsky escreveu:
On Dec 9, 2011, at 11:15 AM, Rodrigo Rosenfeld Rosas
wrote:
Em 09-12-2011 15:14, Rodrigo Rosenfeld Rosas escreveu:
While running some specs of a new fresh Rails 3.1 project with latest Rspec,
I'm getting some strange time reporting (using --drb
Em 09-12-2011 16:31, Rodrigo Rosenfeld Rosas escreveu:
Em 09-12-2011 15:43, David Chelimsky escreveu:
On Dec 9, 2011, at 11:15 AM, Rodrigo Rosenfeld
Rosas wrote:
Em 09-12-2011 15:14, Rodrigo Rosenfeld Rosas escreveu:
While running some specs of a new fresh Rails 3.1 project with
latest Rspe
On Fri, Dec 9, 2011 at 12:31 PM, Rodrigo Rosenfeld Rosas
wrote:
> Em 09-12-2011 15:43, David Chelimsky escreveu:
>
>> On Dec 9, 2011, at 11:15 AM, Rodrigo Rosenfeld Rosas
>> wrote:
>>
>>> Em 09-12-2011 15:14, Rodrigo Rosenfeld Rosas escreveu:
While running some specs of a new fresh Rail