[rspec-users] fixture scenario builder

2007-08-09 Thread Ingo Weiss
Hi all, did anybody get 'fixture scenario builder' (http://errtheblog.com/post/ 7708) to work with rspec? I am getting the following error: /plugins/fixture_scenarios_builder/lib/scenario_builder.rb:8:in `scenario': undefined method `scenario' for main (NoMethodError) Ingo _

[rspec-users] rspec and active_scaffold

2007-08-09 Thread Jonathan Linowes
Hi, Anyone here have a link or tips for a complete spec for a dead simple active_scaffold controller, including its internal calls stubbed out which we could use as a starting point? thanks. linoj ___ rspec-users mailing list rspec-users@rubyforge.

Re: [rspec-users] AutoTest plugin and rspec for rails

2007-08-09 Thread sinclair bain
Dave, Got that ... --colour --format progress ... The latest ... all installed today ... except rspec 4 rails it is 1.0. This was all going ok before I installed autotest (red, green and yellow). On 8/9/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > > On 8/9/07, sinclair bain <[EMAIL P

Re: [rspec-users] Using rcov and ouput to screen

2007-08-09 Thread Scott Taylor
On Aug 9, 2007, at 8:57 PM, barsalou wrote: > I'd like to output my rcov data to the screen in ascii instead of > html...is that possible using the rake spec:rcov command? Look at the RSpec gem's rdoc. I believe it is something like Rake::RcovTask. An option can be provided to give rcov opti

Re: [rspec-users] AutoTest plugin and rspec for rails

2007-08-09 Thread Scott Taylor
On Aug 9, 2007, at 7:47 PM, David Chelimsky wrote: > On 8/9/07, sinclair bain <[EMAIL PROTECTED]> wrote: >> (WinXP) >> Hi, >> >> I have the autotest rails plugin running - detecting changes and >> running the >> examples. >> >> However the rspec color output (of which I am a fan) ... has stoppe

[rspec-users] Using rcov and ouput to screen

2007-08-09 Thread barsalou
I'd like to output my rcov data to the screen in ascii instead of html...is that possible using the rake spec:rcov command? Also, is there somewhere that will allow me to search the mail archives...I'm pretty sure someone else has asked similar questions. Thanks for the help. Mike B.

Re: [rspec-users] Problems with RESTfully generated helpers

2007-08-09 Thread Lance Carlson
About these methods requiring arguments? I thought you were able to reproduce the problems I was having and was also able to reproduce a working application with no arguments. By default these methods should not require arguments to be passed as it is unnecessary noise in the code. Perhaps we can c

Re: [rspec-users] Problems with RESTfully generated helpers

2007-08-09 Thread David Chelimsky
On 8/9/07, Lance Carlson <[EMAIL PROTECTED]> wrote: > Is it possible that rspec is not pulling the instance variables into > the method because this method is being defined before instance > variables in parameters are assigned to that method? I'm trying to > hone down where the problem is popping

Re: [rspec-users] Problems with RESTfully generated helpers

2007-08-09 Thread Lance Carlson
Is it possible that rspec is not pulling the instance variables into the method because this method is being defined before instance variables in parameters are assigned to that method? I'm trying to hone down where the problem is popping up exactly. Any insight? On 8/9/07, David Chelimsky <[EMAIL

Re: [rspec-users] Problems with RESTfully generated helpers

2007-08-09 Thread David Chelimsky
On 8/9/07, Lance Carlson <[EMAIL PROTECTED]> wrote: > Were you able to come up with any solutions? Nope. Anyone else? > > On 8/8/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > > On 8/8/07, Lance Carlson <[EMAIL PROTECTED]> wrote: > > > Awesome! Thank you! :) > > > > Don't thank me yet. I've spe

Re: [rspec-users] Problems with RESTfully generated helpers

2007-08-09 Thread Lance Carlson
Were you able to come up with any solutions? On 8/8/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > On 8/8/07, Lance Carlson <[EMAIL PROTECTED]> wrote: > > Awesome! Thank you! :) > > Don't thank me yet. I've spent some time trying to track this down and > I've found my way into some methods in ro

Re: [rspec-users] AutoTest plugin and rspec for rails

2007-08-09 Thread David Chelimsky
On 8/9/07, sinclair bain <[EMAIL PROTECTED]> wrote: > (WinXP) > Hi, > > I have the autotest rails plugin running - detecting changes and running the > examples. > > However the rspec color output (of which I am a fan) ... has stopped > happening > > Anybody got a spare moment to point me in the rig

[rspec-users] AutoTest plugin and rspec for rails

2007-08-09 Thread sinclair bain
(WinXP) Hi, I have the autotest rails plugin running - detecting changes and running the examples. However the rspec color output (of which I am a fan) ... has stopped happening Anybody got a spare moment to point me in the right direction, please ? Cheers! sinclair

Re: [rspec-users] Any liberally-licensed open source projects out there that make good use of RSpec?

2007-08-09 Thread Scott Taylor
On Aug 9, 2007, at 5:33 AM, aslak hellesoy wrote: > Hi Obie! > > Check out Rubinius and Gecode/R (and RSpec hehe) > > On 8/9/07, Obie Fernandez <[EMAIL PROTECTED]> wrote: >> Any idea if it's kosher to include snippets of GPL'd code in a >> commercial publication? MIT license is no problem, but th

Re: [rspec-users] reusable specs - almost there

2007-08-09 Thread David Green
David Chelimsky-2 wrote: > > On 8/5/07, David Green <[EMAIL PROTECTED]> wrote: >> >> that's a great point, but there are some things about shared behaviours I >> don't like. for example, I have 14 different contexts I'm testing (and >> more >> to come) in 8 controllers. >> >> I can do this: >>

Re: [rspec-users] Any liberally-licensed open source projects out there that make good use of RSpec?

2007-08-09 Thread Scott Taylor
On Aug 9, 2007, at 5:33 AM, aslak hellesoy wrote: > Hi Obie! > > Check out Rubinius and Gecode/R (and RSpec hehe) > I would second Rubinius, because it would considerably lessen the learning curve for some one new to RSpec. > On 8/9/07, Obie Fernandez <[EMAIL PROTECTED]> wrote: >> Any idea if

Re: [rspec-users] Any liberally-licensed open source projects out there that make good use of RSpec?

2007-08-09 Thread aslak hellesoy
Hi Obie! Check out Rubinius and Gecode/R (and RSpec hehe) On 8/9/07, Obie Fernandez <[EMAIL PROTECTED]> wrote: > Any idea if it's kosher to include snippets of GPL'd code in a > commercial publication? MIT license is no problem, but the GPL makes > me nervous about that. > I, personally, wouldn'

Re: [rspec-users] rspec with autotest on a windows machine

2007-08-09 Thread Scott Taylor
Well, I can tell you that you *won't* need the --loadby, and -- reverse switches if using autotest. Does the command generated by autotest run ok on your DOS command line? Scott On Aug 8, 2007, at 7:12 PM, David Parker wrote: > Scott, > > Yes, my spec.opts file contains the following: > --co