Re: [rspec-users] Story / Redirection to static html within public

2009-03-05 Thread Raills Rocks
I have a story written using webat. > This story uses the above controller and it expects the redirection. > > This story always fails as within the story it cannot follow the > redirection (Always gives a 500 error). It does not seem to be able to > access any public/ content within the story.

Re: [rspec-users] where does cucumber.yml live?

2009-03-05 Thread David Chelimsky
On Thu, Mar 5, 2009 at 6:30 PM, Ben Mabey wrote: > David Chelimsky wrote: >> >> On Thu, Mar 5, 2009 at 3:30 PM, Ben Mabey wrote: >> >>> >>> Mark Wilden wrote: >>> That reminds me: Was there a reason for using : to run a feature at a line instead of spec's -l ? ///ark >>>

Re: [rspec-users] where does cucumber.yml live?

2009-03-05 Thread Ben Mabey
David Chelimsky wrote: On Thu, Mar 5, 2009 at 3:30 PM, Ben Mabey wrote: Mark Wilden wrote: That reminds me: Was there a reason for using : to run a feature at a line instead of spec's -l ? ///ark ___ rspec-users mailing list rspec-users@rub

Re: [rspec-users] where does cucumber.yml live?

2009-03-05 Thread Mark Wilden
On Thu, Mar 5, 2009 at 2:47 PM, David Chelimsky wrote: >> >> I actually much prefer the concise notation and I would like to see RSpec >> adopt it. > > I agree. RSpec will adopt it as soon as it receives your patch :) That would be great. I've been used to seeing the colon notation for a quarter

Re: [rspec-users] where does cucumber.yml live?

2009-03-05 Thread David Chelimsky
On Thu, Mar 5, 2009 at 3:30 PM, Ben Mabey wrote: > Mark Wilden wrote: >> >> That reminds me: Was there a reason for using : to run a >> feature at a line instead of spec's -l ? >> >> ///ark >> ___ >> rspec-users mailing list >> rspec-users@rubyforge.org

Re: [rspec-users] where does cucumber.yml live?

2009-03-05 Thread Joseph Wilk
Ben Mabey wrote: Mark Wilden wrote: That reminds me: Was there a reason for using : to run a feature at a line instead of spec's -l ? ///ark ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users I

Re: [rspec-users] --options file quirky with --drb

2009-03-05 Thread Higgaion
On Mar 5, 3:18 pm, Higgaion wrote: > On Mar 5, 1:09 pm, David Chelimsky wrote: > > > On Thu, Mar 5, 2009 at 12:32 PM, Higgaion > > wrote: > > > putting --drb in my spec.opts file has some unexpected results. > > > > $ spec --drb --colour --format specdoc --loadby mtime --reverse -G > > > spec

Re: [rspec-users] where does cucumber.yml live?

2009-03-05 Thread Ben Mabey
Mark Wilden wrote: That reminds me: Was there a reason for using : to run a feature at a line instead of spec's -l ? ///ark ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users I think it was to k

Re: [rspec-users] --options file quirky with --drb

2009-03-05 Thread David Chelimsky
On Thu, Mar 5, 2009 at 3:18 PM, Higgaion wrote: > On Mar 5, 1:09 pm, David Chelimsky wrote: >> On Thu, Mar 5, 2009 at 12:32 PM, Higgaion wrote: >> > putting --drb in my spec.opts file has some unexpected results. >> >> > $ spec --drb --colour --format specdoc --loadby mtime --reverse -G >> > spe

Re: [rspec-users] --options file quirky with --drb

2009-03-05 Thread Higgaion
On Mar 5, 1:09 pm, David Chelimsky wrote: > On Thu, Mar 5, 2009 at 12:32 PM, Higgaion wrote: > > putting --drb in my spec.opts file has some unexpected results. > > > $ spec --drb --colour --format specdoc --loadby mtime --reverse -G > > spec/spec.opts > > $ spec spec/models/a_model_spec.rb -O sp

Re: [rspec-users] where does cucumber.yml live?

2009-03-05 Thread Mark Wilden
That reminds me: Was there a reason for using : to run a feature at a line instead of spec's -l ? ///ark ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] --options file quirky with --drb

2009-03-05 Thread David Chelimsky
On Thu, Mar 5, 2009 at 12:32 PM, Higgaion wrote: > putting --drb in my spec.opts file has some unexpected results. > > $ spec --drb --colour --format specdoc --loadby mtime --reverse -G > spec/spec.opts > $ spec spec/models/a_model_spec.rb -O spec/spec.opts > $ > > it just returns right away, with

[rspec-users] --options file quirky with --drb

2009-03-05 Thread Higgaion
putting --drb in my spec.opts file has some unexpected results. $ spec --drb --colour --format specdoc --loadby mtime --reverse -G spec/spec.opts $ spec spec/models/a_model_spec.rb -O spec/spec.opts $ it just returns right away, with no output. but... $ spec --colour --format specdoc --loadby m

Re: [rspec-users] where does cucumber.yml live?

2009-03-05 Thread r_j_h_box-sf
Aslak: > some gmail lag issue going on here? Not sure who's causing the lag, but yeah. My hope was to help in a way that I could, freeing the "big guns" to focus on things I'm less suited for at this moment. Randy ___ rspec-users mailing list rspec

Re: [rspec-users] Can I construct the controller myself in a controller spec?

2009-03-05 Thread David Chelimsky
On Thu, Mar 5, 2009 at 9:24 AM, Ben Mabey wrote: > David Chelimsky wrote: >> >> On Thu, Mar 5, 2009 at 3:31 AM, Matt Wynne wrote: >> >>> >>> On 5 Mar 2009, at 06:02, David Chelimsky wrote: >>> >>> On Wed, Mar 4, 2009 at 10:38 PM, Perryn Fowler wrote: > > Hi >

Re: [rspec-users] OT: AR Default Values

2009-03-05 Thread Mischa Fierer
Not sure if this is what you're looking for, but there is also this: http://github.com/FooBarWidget/default_value_for/tree/master On Wed, Mar 4, 2009 at 1:58 PM, James Byrne wrote: > Scott Taylor wrote: > > > You could try this plugin: > > > > http://github.com/aussiegeek/active_record_defaults/

Re: [rspec-users] where does cucumber.yml live?

2009-03-05 Thread David Chelimsky
On Thu, Mar 5, 2009 at 10:55 AM, aslak hellesoy wrote: > On Thu, Mar 5, 2009 at 4:43 PM, John Small wrote: >> David Chelimsky wrote: >>> On Thu, Mar 5, 2009 at 8:21 AM, John Small wrote: Where do I put cucumber.yml? I can't find anything mentioned in the documentation. >>> >>> In the p

Re: [rspec-users] where does cucumber.yml live?

2009-03-05 Thread aslak hellesoy
On Thu, Mar 5, 2009 at 6:12 PM, wrote: > > > > > > - Original Message >> From: John Small > [David:] >> > In the project root (or wherever you're typing commands from). > >> Is this documented anywhere, or are people expected to just know it? > > I added the information to the wiki in o

Re: [rspec-users] OT: AR Default Values

2009-03-05 Thread Nick Hoffman
On Wed, Mar 4, 2009 at 2:58 PM, James Byrne wrote: > Scott Taylor wrote: > >> You could try this plugin: >> >> http://github.com/aussiegeek/active_record_defaults/tree/master >> >> Scott > > Thanks, I will try this out. Hi James. Just a quick message to let you know that I've used active_record_d

[rspec-users] errors in controller specs when running by rake

2009-03-05 Thread Andrea Jahn
Hi, I'm working on Windows Vista and I've installed the plugins rspec and rspec-rails V1.1.12. If I run the controller specs directly by ruby, they are all ok: --- C:\InstantRails-2.0-win\rails_apps\myapplication>ruby spec/controllers/planning/pl_plann ings/

Re: [rspec-users] where does cucumber.yml live?

2009-03-05 Thread aslak hellesoy
On Thu, Mar 5, 2009 at 4:43 PM, John Small wrote: > David Chelimsky wrote: >> On Thu, Mar 5, 2009 at 8:21 AM, John Small wrote: >>> Where do I put cucumber.yml? I can't find anything mentioned in the >>> documentation. >> >> In the project root (or wherever you're typing commands from). >> >> Che

Re: [rspec-users] where does cucumber.yml live?

2009-03-05 Thread r_j_h_box-sf
- Original Message > From: John Small [David:] > > In the project root (or wherever you're typing commands from). > Is this documented anywhere, or are people expected to just know it? I added the information to the wiki in one or two places, having been bitten by the same expecta

Re: [rspec-users] where does cucumber.yml live?

2009-03-05 Thread aslak hellesoy
On Thu, Mar 5, 2009 at 3:21 PM, John Small wrote: > Where do I put cucumber.yml? I can't find anything mentioned in the > documentation. > Here it is: http://wiki.github.com/aslakhellesoy/cucumber/running-features Aslak > Thanks > > John Small > -- > Posted via http://www.ruby-forum.com/. > ___

Re: [rspec-users] where does cucumber.yml live?

2009-03-05 Thread John Small
David Chelimsky wrote: > On Thu, Mar 5, 2009 at 8:21 AM, John Small wrote: >> Where do I put cucumber.yml? I can't find anything mentioned in the >> documentation. > > In the project root (or wherever you're typing commands from). > > Cheers, > David Ok, I tried config and features to no avail,

Re: [rspec-users] Can I construct the controller myself in a controller spec?

2009-03-05 Thread Ben Mabey
David Chelimsky wrote: On Thu, Mar 5, 2009 at 3:31 AM, Matt Wynne wrote: On 5 Mar 2009, at 06:02, David Chelimsky wrote: On Wed, Mar 4, 2009 at 10:38 PM, Perryn Fowler wrote: Hi I am experimenting with Constructor based dependency injection for rails controllers. So I have

Re: [rspec-users] Can I construct the controller myself in a controller spec?

2009-03-05 Thread David Chelimsky
On Thu, Mar 5, 2009 at 3:31 AM, Matt Wynne wrote: > > On 5 Mar 2009, at 06:02, David Chelimsky wrote: > >> On Wed, Mar 4, 2009 at 10:38 PM, Perryn Fowler wrote: >>> >>> Hi >>> >>> I am experimenting with Constructor based dependency injection for >>> rails controllers. >>> >>> So I have something

Re: [rspec-users] where does cucumber.yml live?

2009-03-05 Thread David Chelimsky
On Thu, Mar 5, 2009 at 8:21 AM, John Small wrote: > Where do I put cucumber.yml? I can't find anything mentioned in the > documentation. In the project root (or wherever you're typing commands from). Cheers, David > > Thanks > > John Small > -- > Posted via http://www.ruby-forum.com/. > ___

[rspec-users] where does cucumber.yml live?

2009-03-05 Thread John Small
Where do I put cucumber.yml? I can't find anything mentioned in the documentation. Thanks John Small -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Can I construct the controller myself in a controller spec?

2009-03-05 Thread Matt Wynne
On 5 Mar 2009, at 06:02, David Chelimsky wrote: On Wed, Mar 4, 2009 at 10:38 PM, Perryn Fowler wrote: Hi I am experimenting with Constructor based dependency injection for rails controllers. So I have something like this class LoginSessionsController < ApplicationController def initiali