Hi,
On Wed, Jan 12, 2011 at 02:32, Lille wrote:
> I frequently use the -l option to run only tests of interest, but it's
> messy in a way I don't understand...
>
> describe SomeModel do
>
> describe "#some_method" do
>
> it... # let's call this line 20
>
> end
>
> describe "#some_other_met
Hi,
I frequently use the -l option to run only tests of interest, but it's
messy in a way I don't understand...
describe SomeModel do
describe "#some_method" do
it... # let's call this line 20
end
describe "#some_other_method" do
it... # here's some other test
end
end
If
On Jan 10, 2011, at 8:27 AM, Marko Anastasov wrote:
> On Mon, Jan 10, 2011 at 05:05, David Chelimsky wrote:
>> On Jan 5, 2011, at 11:54 AM, Marko Anastasov wrote:
>>
>>> Hello,
>>>
>>> I set a value in controller spec using @request.cookies:
>>> https://gist.github.com/371356ba0a19666fd3b5
>>>
I'm sure is not the best solution, but I solved the problem creating an
Initializer monkey patching the method giving the error. I'm pretty new
on Ruby and company, as always scratching the surface, and only now
getting into the deep, but I hope it will help.
# extract config/initializers/rspec
On Mon, Jan 10, 2011 at 6:37 PM, RichardOnRails
wrote:
> Hi,
>
> I'm running WinXP-Pro/SP3 & Ruby 1.8.6
>
> I just got the RSpec Book and successfully ran
> gem install rspec --version 2.0.0
> per the book's suggestion.
>
> In a Command window, I ran
> K:\>rspec -v
> and got:
> K:/_Utilities/ruby1