Re: [rspec-users] Rspec 1.1.2 on Windows

2008-01-22 Thread BenFyvie
Luis Lavena wrote: > > On Jan 21, 2008 6:53 PM, BenFyvie <[EMAIL PROTECTED]> wrote: >> >> I am using Rspec 1.1.2 on Windows XP SP2 >> >> I am receiving the following error when I run 'rake spec' from a brand >> new >> project: >> C:/SVN_Projects/rspec/vendor/plugins/rspec/lib/spec/runner/options

Re: [rspec-users] attachment_fu and story runner, any updates

2008-01-22 Thread Rick DeNatale
On Jan 21, 2008 11:36 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Jan 21, 2008 2:12 PM, Rick DeNatale <[EMAIL PROTECTED]> wrote: > > I'm trying to write a story for a Rails app which involves using the > > attachment_fu plugin to upload images. > > > > After blunting my pick on this for a w

Re: [rspec-users] Rspec 1.1.2 on Windows

2008-01-22 Thread Luis Lavena
On Jan 22, 2008 2:08 PM, BenFyvie <[EMAIL PROTECTED]> wrote: > > > Thanks Luis, > > I used the code in your lighthouse case and I am now able to load the > win32console gem. However I am still not able to run tests because of the > second problem I that I mentioned before with the uninitialized co

Re: [rspec-users] Rspec 1.1.2 on Windows

2008-01-22 Thread BenFyvie
Luis Lavena wrote: > > On Jan 22, 2008 2:08 PM, BenFyvie <[EMAIL PROTECTED]> wrote: >> >> >> Thanks Luis, >> >> I used the code in your lighthouse case and I am now able to load the >> win32console gem. However I am still not able to run tests because of >> the >> second problem I that I menti

[rspec-users] Trying to spec ExceptionNotifiable behavior

2008-01-22 Thread Luis Lavena
Hello List. I'm trying to overwrite part of ExceptionNotifiable (ExceptionNotification plugin) to render customized error 500 pages based on browser agents. For this, I've created a fake controller that inherits directly from ActionController::Base: class FooExceptionController < ActionControlle

[rspec-users] sharing specs in a subclass

2008-01-22 Thread Jonathan Linowes
Hi I've spec'd a class and they pass. Now I'd like to assure that any subclass of this class also passes the same specs. Any suggestions for a clever way to handle this? I'd prefer to keep the existing specs as is (eg instead of moving everything into shared behaviors, or doing something to a

Re: [rspec-users] sharing specs in a subclass

2008-01-22 Thread David Chelimsky
On Jan 22, 2008 10:49 PM, Jonathan Linowes <[EMAIL PROTECTED]> wrote: > Hi > > I've spec'd a class and they pass. > > Now I'd like to assure that any subclass of this class also passes > the same specs. > Any suggestions for a clever way to handle this? > I'd prefer to keep the existing specs as is

Re: [rspec-users] Rspec 1.1.2 on Windows

2008-01-22 Thread BenFyvie
Luis Lavena wrote: > > On Jan 22, 2008 2:08 PM, BenFyvie <[EMAIL PROTECTED]> wrote: >> >> >> Thanks Luis, >> >> I used the code in your lighthouse case and I am now able to load the >> win32console gem. However I am still not able to run tests because of >> the >> second problem I that I menti

Re: [rspec-users] sharing specs in a subclass

2008-01-22 Thread Jonathan Linowes
cool thx :) On Jan 23, 2008, at 12:02 AM, David Chelimsky wrote: > On Jan 22, 2008 10:49 PM, Jonathan Linowes > <[EMAIL PROTECTED]> wrote: >> Hi >> >> I've spec'd a class and they pass. >> >> Now I'd like to assure that any subclass of this class also passes >> the same specs. >> Any suggestion

Re: [rspec-users] sharing specs in a subclass

2008-01-22 Thread Scott Taylor
On Jan 23, 2008, at 12:02 AM, David Chelimsky wrote: > On Jan 22, 2008 10:49 PM, Jonathan Linowes > <[EMAIL PROTECTED]> wrote: >> Hi >> >> I've spec'd a class and they pass. >> >> Now I'd like to assure that any subclass of this class also passes >> the same specs. >> Any suggestions for a clev

Re: [rspec-users] sharing specs in a subclass

2008-01-22 Thread David Chelimsky
On Jan 23, 2008 12:04 AM, Scott Taylor <[EMAIL PROTECTED]> wrote: > > On Jan 23, 2008, at 12:02 AM, David Chelimsky wrote: > > > On Jan 22, 2008 10:49 PM, Jonathan Linowes > > <[EMAIL PROTECTED]> wrote: > >> Hi > >> > >> I've spec'd a class and they pass. > >> > >> Now I'd like to assure that any s

[rspec-users] integrate_views is not executing my views

2008-01-22 Thread Ze No
I wanted to use "integrate_views" as Ryan explains in his RailsCast #71 (http://railscasts.com/episodes/71) ...but I can't get it to work: the view code in not executed I looked everywhere but I can't understand what I am doing wrong. Here is what I did: I created a new application from scratch (

Re: [rspec-users] integrate_views is not executing my views

2008-01-22 Thread David Chelimsky
On Jan 23, 2008 1:17 AM, Ze No <[EMAIL PROTECTED]> wrote: > I wanted to use "integrate_views" as Ryan explains in his RailsCast #71 > (http://railscasts.com/episodes/71) > > ...but I can't get it to work: the view code in not executed > > I looked everywhere but I can't understand what I am doing w