Re: [rspec-users] simple story, extract link

2007-10-02 Thread Jonathan Linowes
Pat, Any more thoughts on submit_form and follow_link? I really like that idea, it fits well with the story concept, imo . And using the links and forms inside the response is better coverage than assuming the entry point to the next page. So a scenario becomes a sequence of actions taken b

Re: [rspec-users] color output?

2007-10-02 Thread David Chelimsky
On 10/2/07, Jonathan Linowes <[EMAIL PROTECTED]> wrote: > > On Oct 2, 2007, at 3:45 PM, David Chelimsky wrote: > > > I didn't realize we had taken this private - I'd like to keep this > > discussion on the list so others can contribute to it. OK with you? > > > > On 10/2/07, Jonathan Linowes <[EMAI

Re: [rspec-users] color output?

2007-10-02 Thread Jonathan Linowes
On Oct 2, 2007, at 3:45 PM, David Chelimsky wrote: > I didn't realize we had taken this private - I'd like to keep this > discussion on the list so others can contribute to it. OK with you? > > On 10/2/07, Jonathan Linowes <[EMAIL PROTECTED]> wrote: >> Thanks, I know you cant help my rubyforge is

Re: [rspec-users] align the runner

2007-10-02 Thread David Chelimsky
On 10/2/07, Shane Duan <[EMAIL PROTECTED]> wrote: > Yes. Thanks. > > That probably means that the customer runner will work with both, if > not already. Customer Runner? I assume you mean what we've been calling Story Runner, yes? We're calling that Scenario Runner from now on (because it makes m

Re: [rspec-users] align the runner

2007-10-02 Thread Shane Duan
Yes. Thanks. That probably means that the customer runner will work with both, if not already. > Date: Tue, 2 Oct 2007 13:06:43 -0500 > From: "David Chelimsky" <[EMAIL PROTECTED]> > Subject: Re: [rspec-users] align the runner > To: rspec-users > Message-ID: > <[EMAIL PROTECTED]> > Cont

Re: [rspec-users] Rails 2.0 Preview Release and RSpec Trunk

2007-10-02 Thread David Chelimsky
On 10/2/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > On 10/2/07, Lance Carlson <[EMAIL PROTECTED]> wrote: > > yes, that clears things up. How do I check what version I'm running if > > I'm running the plugins from svn? > > cd vendor/plugins > svn st rspec > svn st rspec_on_rails You can also l

Re: [rspec-users] Problems with testing nested routes using mocking

2007-10-02 Thread Geoffrey Wiseman
On 10/2/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > > This is a known issue: > > > http://rubyforge.org/tracker/index.php?func=detail&aid=12963&group_id=797&atid=3149 > > Patches welcome! > Not sure if that's related to the problem I'm having with view specs and the dynamic path-generators, b

Re: [rspec-users] Rails 2.0 Preview Release and RSpec Trunk

2007-10-02 Thread David Chelimsky
On 10/2/07, Lance Carlson <[EMAIL PROTECTED]> wrote: > yes, that clears things up. How do I check what version I'm running if > I'm running the plugins from svn? cd vendor/plugins svn st rspec svn st rspec_on_rails > > On 10/2/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > > On 10/2/07, Lance C

Re: [rspec-users] Rails 2.0 Preview Release and RSpec Trunk

2007-10-02 Thread aslak hellesoy
On 10/2/07, Lance Carlson <[EMAIL PROTECTED]> wrote: > Are you saying Rspec was never meant to work with edge rails? I've David wasn't saying that. We cannot travel back in time and make 1.0.8 work with today's rails. But we can (and are doing) our best to make RSpec trunk work with edge Rails tru

Re: [rspec-users] Rails 2.0 Preview Release and RSpec Trunk

2007-10-02 Thread Lance Carlson
yes, that clears things up. How do I check what version I'm running if I'm running the plugins from svn? On 10/2/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > On 10/2/07, Lance Carlson <[EMAIL PROTECTED]> wrote: > > Are you saying Rspec was never meant to work with edge rails? > > I'm talking a

Re: [rspec-users] Rails 2.0 Preview Release and RSpec Trunk

2007-10-02 Thread David Chelimsky
On 10/2/07, Lance Carlson <[EMAIL PROTECTED]> wrote: > Are you saying Rspec was never meant to work with edge rails? I'm talking about a past release: RSpec-1.0.8. RSpec's trunk does a pretty good job of keeping up w/ changes in edge rails, but clearly past releases of rspec are never guaranteed

Re: [rspec-users] Rails 2.0 Preview Release and RSpec Trunk

2007-10-02 Thread Lance Carlson
Are you saying Rspec was never meant to work with edge rails? I've been using Rspec with edge rails and I've got it to work for the most part (even though i seem to have problems with some of the new syntactic sugar). Is this because rspec somehow isn't expecting rails 2.0 esk code? On 10/2/07, Da

Re: [rspec-users] color output?

2007-10-02 Thread David Chelimsky
On 10/2/07, Jonathan Linowes <[EMAIL PROTECTED]> wrote: > feature request: http://rspec.rubyforge.org/community/contribute.html http://rubyforge.org/tracker/?atid=3152&group_id=797&func=browse ___ rspec-users mailing list rspec-users@rubyforge.org http:/

Re: [rspec-users] color output?

2007-10-02 Thread Jonathan Linowes
feature request: I have a story with a bunch of different scenarios that vary by just one (or two) things. In fact, within the story I've written a method that sets up the common set of Givens, and another than checks for a common set of results, e.g. Scenario "no User record" do gi

Re: [rspec-users] align the runner

2007-10-02 Thread David Chelimsky
On 10/2/07, Shane Duan <[EMAIL PROTECTED]> wrote: > I saw from the thread "color output" that there is a plan to "align > the runner". Is there a place to see what that means? I am just > curious. I think that there are conversations about this on the rspec-devel list. Thus far we haven't create

[rspec-users] Rails 2.0 Preview Release and RSpec Trunk

2007-10-02 Thread David Chelimsky
Hi all, For those of you checking out the Rails 2.0 preview release: RSpec-1.0.8 does not support Rails 2.0. Unfortunately, we're in the middle of some big changes to the internals in trunk and won't be in a position to do a release for another week or so. Therefore, if you are using the Rails 2

[rspec-users] align the runner

2007-10-02 Thread Shane Duan
I saw from the thread "color output" that there is a plan to "align the runner". Is there a place to see what that means? I am just curious. Thanks Shane ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec

[rspec-users] Note on Rails 2.0 Preview

2007-10-02 Thread Steve Ross (CWD)
Make sure you get a relatively current version of rspec or you will get: /Users/me/rails/ubb/vendor/rails/activerecord/lib/../../activesupport/ lib/active_support/dependencies.rb:263:in `load_missing_constant': uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper (NameError) Ho

Re: [rspec-users] color output?

2007-10-02 Thread David Chelimsky
On 10/2/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > Not yet. Patches welcome! Actually - there's nothing to patch yet - we plan to align the runners in the near future. So Not yet. Coming soon! > > On 10/2/07, Jonathan Linowes <[EMAIL PROTECTED]> wrote: > > does story runner have comma

Re: [rspec-users] color output?

2007-10-02 Thread David Chelimsky
Not yet. Patches welcome! On 10/2/07, Jonathan Linowes <[EMAIL PROTECTED]> wrote: > does story runner have commandline options ,eg to add color to output? > ___ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinf

[rspec-users] color output?

2007-10-02 Thread Jonathan Linowes
does story runner have commandline options ,eg to add color to output? ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] Rails 2.0 & rspec edge - not protected_against_forgery?

2007-10-02 Thread Jens-Christian Fischer
The new forgery protection is throwing of rspec: NoMethodError in 'ApplicationHelper login-logout when logged in should show the name of the current user' undefined method `protect_against_forgery?' for #<#: 0x34e1f94> /Users/jcf/dev/work/sim/vendor/plugins/rspec_on_rails/lib/spec/rails/ dsl/b

Re: [rspec-users] Problems with testing nested routes using mocking

2007-10-02 Thread David Chelimsky
On 10/2/07, Jarkko Laine <[EMAIL PROTECTED]> wrote: > On 2.10.2007, at 1.33, Jesper Laursen wrote: > > It know work in a browser, but if i am > > running autotest, this error raise: > > > > > > /opt/local/bin/ruby -S script/spec -O spec/spec.opts > > spec/views/virtual_hosts/show.rhtml_spec.rb > >

Re: [rspec-users] Problems with testing nested routes using mocking

2007-10-02 Thread Jarkko Laine
On 2.10.2007, at 1.33, Jesper Laursen wrote: > It know work in a browser, but if i am > running autotest, this error raise: > > > /opt/local/bin/ruby -S script/spec -O spec/spec.opts > spec/views/virtual_hosts/show.rhtml_spec.rb > F > > 1) > ActionView::TemplateError in '/virtual_hosts/show.rhtml