[rspec-users] Facets and/or Nested Describes

2007-10-29 Thread Brian Takita
I have to confess that I did not know about facets before reading Ashley Moran's post: http://aviewfromafar.net/2007/10/21/quick-and-dirty-facets-in-rspec-trunk Not knowing about the facets solution, I made a couple of feature requests for nested describes: http://rubyforge.org/tracker/index.php?f

Re: [rspec-users] Mocking Workers in Backgroundrb

2007-10-29 Thread Lance Carlson
MiddleMan = Object.new at the top of my spec file worked better for me. I didn't want to have to mess with ENV variables. On 10/24/07, Pat Maddox <[EMAIL PROTECTED]> wrote: > On 10/24/07, Shane Mingins <[EMAIL PROTECTED]> wrote: > > > > Hi > > > > Has anyone mocked a call like the following for b

Re: [rspec-users] Note on Rails 2.0 Preview

2007-10-29 Thread aslak hellesoy
On 10/29/07, Jamal Soueidan <[EMAIL PROTECTED]> wrote: > Steve Ross (CWD) wrote: > > 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_co

Re: [rspec-users] Note on Rails 2.0 Preview

2007-10-29 Thread James Deville
On 10/29/07, Jamal Soueidan <[EMAIL PROTECTED]> wrote: > > Steve Ross (CWD) wrote: > > 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_

Re: [rspec-users] rspec throws exception (nameError)

2007-10-29 Thread Jamal Soueidan
Thanks for help David :) You saved my day :D -- 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] Note on Rails 2.0 Preview

2007-10-29 Thread Jamal Soueidan
Steve Ross (CWD) wrote: > 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::JavaScrip

Re: [rspec-users] rspec throws exception (nameError)

2007-10-29 Thread David Chelimsky
On 10/29/07, Jamal Soueidan <[EMAIL PROTECTED]> wrote: > Hi, > > I'm running Rails 1.2.5 with rspec 1.0.8. RSpec 1.0.8 came out before Rails 1.2.4/1.2.5 or 2.0.0-preview. If you are using anything newer than Rails 1.2.3, you should use RSpec's trunk. __

[rspec-users] rspec throws exception (nameError)

2007-10-29 Thread Jamal Soueidan
Hi, I'm running Rails 1.2.5 with rspec 1.0.8. When i runned autotest first time, it complained about this line. #include ActionView::Helpers::JavaScriptMacrosHelper in vendor/plugins/rspec_on_rails/lib/spec/rails/dls/behaviour/helper.rb ...I commented it out, then I got another error about this

Re: [rspec-users] How is everyone structuring stories?

2007-10-29 Thread Dan North
For some reason I heard that reply in Eric Cartman's voice. "beh... you guys" fwiw I prefer separate directories - stories and specs - because they are targeted (intentionally) at different audiences. I started off trying behaviour/specs and behaviour/stories but then I thought about who would a

Re: [rspec-users] rake spec default environment

2007-10-29 Thread Jonathan Linowes
On Oct 29, 2007, at 9:04 AM, Jonathan Linowes wrote: > hi, > > When I run rake spec , it seems to be starting with my default > environment (development or production) and connects to that > database, before actually connecting to the test one and proceeding > with the tests. When I remove the d

Re: [rspec-users] rake spec default environment

2007-10-29 Thread David Chelimsky
On 10/29/07, Steve <[EMAIL PROTECTED]> wrote: > On Mon, 29 Oct 2007 10:55:32 -0400, Scott Taylor wrote: > > > Well, usually the schema of the development database is copied to the > > test one (you wouldn't want to run 100 migrations just because you > > fired up your test now, would you?) > > > >

Re: [rspec-users] rake spec default environment

2007-10-29 Thread Steve
On Mon, 29 Oct 2007 10:55:32 -0400, Scott Taylor wrote: > Well, usually the schema of the development database is copied to the > test one (you wouldn't want to run 100 migrations just because you > fired up your test now, would you?) > > Scott This has been discussed recently. If you're doi

Re: [rspec-users] rake spec default environment

2007-10-29 Thread Jonathan Linowes
On Oct 29, 2007, at 10:55 AM, Scott Taylor wrote: > > On Oct 29, 2007, at 9:04 AM, Jonathan Linowes wrote: > >> hi, >> >> When I run rake spec , it seems to be starting with my default >> environment (development or production) and connects to that >> database, before actually connecting to the

Re: [rspec-users] rake spec default environment

2007-10-29 Thread Scott Taylor
On Oct 29, 2007, at 9:04 AM, Jonathan Linowes wrote: > hi, > > When I run rake spec , it seems to be starting with my default > environment (development or production) and connects to that > database, before actually connecting to the test one and proceeding > with the tests. When I remove the d

[rspec-users] rake spec default environment

2007-10-29 Thread Jonathan Linowes
hi, When I run rake spec , it seems to be starting with my default environment (development or production) and connects to that database, before actually connecting to the test one and proceeding with the tests. When I remove the development database, the specs wont run. How do i initiate