Re: [rspec-users] Cookie Session Store Not Working in Safari

2008-01-02 Thread Giles Bowkett
> 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

Re: [rspec-users] Cookie Session Store Not Working in Safari

2008-01-02 Thread Glenn Ford
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

Re: [rspec-users] Cookie Session Store Not Working in Safari

2008-01-02 Thread Giles Bowkett
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

[rspec-users] Cookie Session Store Not Working in Safari

2008-01-02 Thread Glenn Ford
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

Re: [rspec-users] Do you think it would look cleaner?

2008-01-02 Thread Zach Dennis
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

Re: [rspec-users] RSpec Book(s) on the radar

2008-01-02 Thread David Chelimsky
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:/

Re: [rspec-users] Do you think it would look cleaner?

2008-01-02 Thread David Chelimsky
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

Re: [rspec-users] RSpec Book(s) on the radar

2008-01-02 Thread Bart Zonneveld
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

Re: [rspec-users] Do you think it would look cleaner?

2008-01-02 Thread Zach Dennis
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

Re: [rspec-users] RSpec Book(s) on the radar

2008-01-02 Thread David Chelimsky
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

Re: [rspec-users] RSpec Book(s) on the radar

2008-01-02 Thread Oscar Del ben
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.

Re: [rspec-users] RSpec on Ruby 1.9: before(:all) (Not Yet Implemented) pending messages instead of tests

2008-01-02 Thread Shot (Piotr Szotkowski)
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