Re: [rspec-users] Plain Text Story example

2007-11-07 Thread Ben Mabey
David Chelimsky wrote: > On Nov 7, 2007 10:18 PM, Ben Mabey <[EMAIL PROTECTED]> wrote: > >> I just ran across this blog which helped me out a lot in answering some >> of my questions about the plain text story runner: >> http://www.kerrybuckley.com/2007/11/07/driving-selenium-from-the-rspec-stor

Re: [rspec-users] Plain Text Story example

2007-11-07 Thread David Chelimsky
On Nov 7, 2007 10:18 PM, Ben Mabey <[EMAIL PROTECTED]> wrote: > I just ran across this blog which helped me out a lot in answering some > of my questions about the plain text story runner: > http://www.kerrybuckley.com/2007/11/07/driving-selenium-from-the-rspec-story-runner-rbehave/ It's great to

Re: [rspec-users] Plain Text Story example

2007-11-07 Thread Ben Mabey
I just ran across this blog which helped me out a lot in answering some of my questions about the plain text story runner: http://www.kerrybuckley.com/2007/11/07/driving-selenium-from-the-rspec-story-runner-rbehave/ The Selenium integration is also an interesting idea that you might want to read

[rspec-users] Plain Text Story example

2007-11-07 Thread Ben Mabey
Hey all, Does anyone have an example(s) of the plain text story runner for rails? I have read David's blog (http://blog.davidchelimsky.net/articles/2007/10/22/plain-text-stories-on-rails) about it but I would like to see some examples with all of the step matchers included... I couldn't fin

[rspec-users] Named routes raising nil.rewrite error

2007-11-07 Thread Scott Taylor
Hi all. I'm having a little problem with named routes. I have the following named route: map.with_options :controller => 'snippets' do |map| map.snippets 'faq/', :action => 'index' map.new_snippet 'faq/ new', :action

Re: [rspec-users] LoadError when upgraded to latest rspec trunk

2007-11-07 Thread David Chelimsky
On Nov 7, 2007 11:31 AM, Ben Mabey <[EMAIL PROTECTED]> wrote: > I just moved my rspec and rspec_on_rails plugin from r2691 to r2822. > After that I upgraded both of them I regenerated all things rspec with > the rspec generator. I was running on rails r2691 but upgraded to the > latest at r2822 wh

[rspec-users] LoadError when upgraded to latest rspec trunk

2007-11-07 Thread Ben Mabey
I just moved my rspec and rspec_on_rails plugin from r2691 to r2822. After that I upgraded both of them I regenerated all things rspec with the rspec generator. I was running on rails r2691 but upgraded to the latest at r2822 when I was getting errors but that still didn't help things. I get

[rspec-users] RSpec, RESTful nested routes and :path_prefix

2007-11-07 Thread Harm Aarts
I think I did not express myself clear enough. The problem is that in my spec I can not get the 'post' and 'get' methods to correctly contact(by lack of a better word) the corresponding actions. I believe this has to do with the fact that I use a :path_prefix. So I would like this: >it "G

Re: [rspec-users] Unexplainable failure...at least for me

2007-11-07 Thread Chris Olsen
That would make sense. Thanks for the help. -- 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] Unexplainable failure...at least for me

2007-11-07 Thread Tom Stuart
On 7 Nov 2007, at 14:49, Chris Olsen wrote: > So now the question is, why does the data not exist in the test > database. The country and province data inserts exist within the > migration files, ex for countries: As someone who knows literally nothing about how this all works, I still feel con

Re: [rspec-users] Unexplainable failure...at least for me

2007-11-07 Thread Chris Olsen
Chris Olsen wrote: > That is the problem, which is clear now that I tested it with the > script/console in test mode rather than development. > > So now the question is, why does the data not exist in the test > database. The country and province data inserts exist within the > migration files

Re: [rspec-users] Helper methods starting with should_ get picked up as examples?

2007-11-07 Thread David Chelimsky
On Nov 7, 2007 3:33 AM, Peter Marklund <[EMAIL PROTECTED]> wrote: > Hi! > I recently updated my rspec and rspec_on_rails plugins to the tip of > the trunk and ran into an issue with helper methods with names > starting with should_ in my describe blocks. Fictive example to show > what I'm talking a

Re: [rspec-users] Unexplainable failure...at least for me

2007-11-07 Thread Chris Olsen
That is the problem, which is clear now that I tested it with the script/console in test mode rather than development. So now the question is, why does the data not exist in the test database. The country and province data inserts exist within the migration files, ex for countries: class Crea

[rspec-users] Helper methods starting with should_ get picked up as examples?

2007-11-07 Thread Peter Marklund
Hi! I recently updated my rspec and rspec_on_rails plugins to the tip of the trunk and ran into an issue with helper methods with names starting with should_ in my describe blocks. Fictive example to show what I'm talking about: describe Order do it "Can be paid for" do ... sho