Re: [rspec-users] Trouble with my first Story

2008-03-26 Thread Glenn Ford
That was it, thank you! Must have been a long day, I can't believe I didn't spot that :) On Mar 26, 2008, at 10:15 PM, David Chelimsky wrote: > On Wed, Mar 26, 2008 at 5:02 PM, Glenn Ford <[EMAIL PROTECTED]> wrote: >> Hi all! I've been through the RSpec Stories PeepCode and some >> various

Re: [rspec-users] Trouble with my first Story

2008-03-26 Thread David Chelimsky
On Wed, Mar 26, 2008 at 5:02 PM, Glenn Ford <[EMAIL PROTECTED]> wrote: > Hi all! I've been through the RSpec Stories PeepCode and some various > other readings online, and now I'm trying to build a dummy application > of the traditional style: log in, make posts, add comments. > > So I've run t

Re: [rspec-users] [ANN] rspec_hpricot_matchers 1.0: have_tag on hpricot

2008-03-26 Thread David Chelimsky
On Wed, Mar 26, 2008 at 7:50 PM, Ashley Moran <[EMAIL PROTECTED]> wrote: > > On 26 Mar 2008, at 19:08, Kyle Hargraves wrote: > > > I finally got around to registering a project on RubyForge and pushing > > a gem, so it is now available with just: > > > > gem install rspec_hpricot_matchers > >

Re: [rspec-users] Trouble with my first Story

2008-03-26 Thread Glenn Ford
It actually should do a redirect, but checking for response.should be_success also fails. The request isn't actually being made. I just can't figure out why. Glenn On Mar 26, 2008, at 8:19 PM, Matt Berther wrote: > Hi Glen, > > I do not mean to insult you, but is /session/create actually d

Re: [rspec-users] Trouble with my first Story

2008-03-26 Thread Matt Berther
Hi Glen, I do not mean to insult you, but is /session/create actually doing a redirect? A similar rspec test works for me. -- Matt Berther http://www.mattberther.com On Mar 26, 2008, at 5:51 PM, Glenn Ford wrote: > On Mar 26, 2008, at 6:28 PM, Chuck Remes wrote: > >> >> On Mar 26, 2008, at

Re: [rspec-users] [ANN] rspec_hpricot_matchers 1.0: have_tag on hpricot

2008-03-26 Thread Ashley Moran
On 26 Mar 2008, at 19:08, Kyle Hargraves wrote: > I finally got around to registering a project on RubyForge and pushing > a gem, so it is now available with just: > > gem install rspec_hpricot_matchers Hi Kyle Thanks for releasing this as a gem, makes it much easier to get hold of. The on

Re: [rspec-users] Trouble with my first Story

2008-03-26 Thread Glenn Ford
On Mar 26, 2008, at 6:28 PM, Chuck Remes wrote: > > On Mar 26, 2008, at 4:02 PM, Glenn Ford wrote: >> Hi all! I've been through the RSpec Stories PeepCode and some >> various >> other readings online, and now I'm trying to build a dummy >> application >> of the traditional style: log in, make

Re: [rspec-users] story runner output

2008-03-26 Thread Mark Van Holstyn
brynary has done this work already ( http://github.com/brynary/rspec/tree/master). David was getting failures when merging it in though. I looked into it one day, but nothing failed for me. David, have you had a chance to give it another look? I would love to get this in. Mark On Wed, Mar 26, 20

Re: [rspec-users] Trouble with my first Story

2008-03-26 Thread Chuck Remes
On Mar 26, 2008, at 4:02 PM, Glenn Ford wrote: > Hi all! I've been through the RSpec Stories PeepCode and some various > other readings online, and now I'm trying to build a dummy application > of the traditional style: log in, make posts, add comments. > > So I've run the scaffold for posts/comm

[rspec-users] How to spec controller whose route has a different name?

2008-03-26 Thread Wincent Colaiuta
Perhaps I am missing something extremely obvious, but I am unable to get my specs to work for an ArticlesController which is accessed using URLs like "/wiki/foo". Here's the corresponding line from config/routes.rb: map.resources :wiki, :controller => 'articles' This is Rails 2.0.2, but i

[rspec-users] Testing controller without integrate views

2008-03-26 Thread Fahr Jahrel
Hello, I'm new to RSpec and I'm having some trouble testing controllers. After a lot of testing without coming any closer to a solution, I figured I should try describing the problem here. Any help will be appreciated. :-) I'm testing controllers and view separately, but something strange seems t

[rspec-users] Trouble with my first Story

2008-03-26 Thread Glenn Ford
Hi all! I've been through the RSpec Stories PeepCode and some various other readings online, and now I'm trying to build a dummy application of the traditional style: log in, make posts, add comments. So I've run the scaffold for posts/comments and the script for RestfulAuthentication so I

[rspec-users] [ANN] rspec_hpricot_matchers 1.0: have_tag on hpricot

2008-03-26 Thread Kyle Hargraves
Hello everyone, A few weeks ago, I put together a little project that provides a have_tag() matcher look-alike that can be used outside of Rails projects, backed by Hpricot, which I very creatively named rspec_hpricot_matchers. It's not a drop-in replacement for rspec_on_rails' have_tag(): no subs

Re: [rspec-users] story runner output

2008-03-26 Thread aslak hellesoy
On Wed, Mar 26, 2008 at 6:35 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote: > Is it possible to optionally reduce the story runner output to just > dots or something? Lots of stories makes it difficult to see previous > test results. > Anything is possible, but you have to implement a progress_bar_

[rspec-users] story runner output

2008-03-26 Thread Joe Van Dyk
Is it possible to optionally reduce the story runner output to just dots or something? Lots of stories makes it difficult to see previous test results. Joe ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspe

Re: [rspec-users] newbie first run question

2008-03-26 Thread Max Williams
I had a similar problem with rake: try ruby script/spec On 25/03/2008, Eric Harris-Braun <[EMAIL PROTECTED]> wrote: > > Hi folks, > > RSpec 1.1.3 is failing for me out of the box. I installed both rspec > and rspec_on_rails using svn following the instructions on the site. > Then I used the rsp

Re: [rspec-users] pending plain text story step

2008-03-26 Thread Corey Haines
On Wed, Mar 26, 2008 at 8:23 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Tue, Mar 25, 2008 at 4:54 PM, Corey Haines <[EMAIL PROTECTED]> > wrote: > > #pending works when creating a step for a plain text story, but adding > text > > to the method call doesn't spit it out in the output. Is th

Re: [rspec-users] pending plain text story step

2008-03-26 Thread David Chelimsky
On Tue, Mar 25, 2008 at 4:54 PM, Corey Haines <[EMAIL PROTECTED]> wrote: > #pending works when creating a step for a plain text story, but adding text > to the method call doesn't spit it out in the output. Is this a bug, or are > we doing something wrong? Let's call it a missing feature :) > > T