> Whoops, you're very right, this isn't the RoR list! Oh well it's the
> only one I ever use. My bad! Let's look at it this way... my spec's
> are failing because I can't use session! What do I do? :)
Stub like there's no tomorrow?
--
Giles Bowkett
Podcast: http://hollywoodgrit.blogspot.com
Whoops, you're very right, this isn't the RoR list! Oh well it's the
only one I ever use. My bad! Let's look at it this way... my spec's
are failing because I can't use session! What do I do? :)
On Jan 2, 2008, at 11:36 PM, Giles Bowkett wrote:
> Sorry, I'm new here, but isn't this totall
Sorry, I'm new here, but isn't this totally irrelevant to RSpec in every way?
On 1/2/08, Glenn Ford <[EMAIL PROTECTED]> wrote:
>
> Here's the steps I followed:
>
> Generated the test code
> rails test
> mate test
> cd test
> script/generate scaffold thing
> rake db:create
> script/server
>
>
> Mod
Here's the steps I followed:
Generated the test code
rails test
mate test
cd test
script/generate scaffold thing
rake db:create
script/server
Modified things_controller.rb index and new:
def index
end
def new
session[:user] = 5
redirect_to(things_path)
end
Set index.html.erb to
I learn something everyday. Thanks
On Jan 2, 2008 5:09 PM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Jan 2, 2008 5:20 PM, Zach Dennis <[EMAIL PROTECTED]> wrote:
>
> > RSpec doesn't enforce strict-order mocking.
>
> Sure it does, if you ask it to:
> http://rspec.info/documentation/mocks/messa
On Jan 2, 2008 8:05 PM, Bart Zonneveld <[EMAIL PROTECTED]> wrote:
> Curious, are the Stories going to be part of the rspec book?
Yep.
> Eagerly waiting on that one...
Us too!
Cheers,
David
___
rspec-users mailing list
rspec-users@rubyforge.org
http:/
On Jan 2, 2008 5:20 PM, Zach Dennis <[EMAIL PROTECTED]> wrote:
> RSpec doesn't enforce strict-order mocking.
Sure it does, if you ask it to:
http://rspec.info/documentation/mocks/message_expectations.html
___
rspec-users mailing list
rspec-users@rubyfor
On 2 jan 2008, at 15:52, David Chelimsky wrote:
> On Jan 2, 2008 12:05 PM, Oscar Del ben <[EMAIL PROTECTED]> wrote:
>> Cody P. Skidmore wrote:
>>> I just found this one: http://tinyurl.com/3c3mfa
>>>
>>> David, are there any other RSpec books in the works?
>>>
>>> With Regards,
>>>
>>> Cody Skid
On Dec 30, 2007 4:47 AM, Kero van Gelder <[EMAIL PROTECTED]> wrote:
>
> > I was looking over some of my specs.
> > I was thinking that the following:
> >
> > @game.should_receive(:name).and_return('The Battle for Blaze')
> > @game.should_receive(:people).and_return(500)
> > @game.should_receive
On Jan 2, 2008 12:05 PM, Oscar Del ben <[EMAIL PROTECTED]> wrote:
> Cody P. Skidmore wrote:
> > I just found this one: http://tinyurl.com/3c3mfa
> >
> > David, are there any other RSpec books in the works?
> >
> > With Regards,
> >
> > Cody Skidmore
>
>
> That book is not longer available, and i d
Cody P. Skidmore wrote:
> I just found this one: http://tinyurl.com/3c3mfa
>
> David, are there any other RSpec books in the works?
>
> With Regards,
>
> Cody Skidmore
That book is not longer available, and i don't know the matter, what
about the book of prag prog?
--
Posted via http://www.
David Chelimsky:
> On Dec 27, 2007 4:28 PM, Shot (Piotr Szotkowski) <[EMAIL PROTECTED]> wrote:
>> I happily hand-compiled Ruby 1.9.0-0 into /home/shot/opt/ruby today
>> and I'm running into a strange error with RSpec – all my examples work
>> perfectly with Ruby 1.8 but are considered pending on
12 matches
Mail list logo