[rspec-users] Request for comments: Scenario

2011-06-04 Thread Tyson Tate
I created a gem a few weeks ago that I think the RSpec community might be interested in: https://github.com/tysontate/scenario (and that I'd love to get feedback on). It supports RSpec 1 and 2. It aims to solve a few of the problems we've had with a large spec suite that's been built over several

Re: [rspec-users] including a module with ActiveSupport::Concern works in console/site, but not in specs

2011-06-04 Thread Ramon Tayag
Not sure why it works inconsistently, but I always thought you did the following to include class methods via activesupport::concern: class Buyer extend ActiveSupport::Concern included do # def a_class_method end def an_instance_method ... end Ramon Tayag On Jun 4, 2011, at 22:51,

Re: [rspec-users] rspec1.3.2/rspec-rails1.3.4 and Rake 0.9.1 = lots of deprecation warnings

2011-06-04 Thread Ramon Tayag
Sounds like it doesn't know how to load rake. Try require 'rake' or something like that on top. Ramon Tayag On Jun 4, 2011, at 22:58, MattR wrote: Hi folks, I've been searching google and I don't think this case has yet been identified. I've got an older, Rails 2.3 app that is using rspec 1.3.

Re: [rspec-users] rspec1.3.2/rspec-rails1.3.4 and Rake 0.9.1 = lots of deprecation warnings

2011-06-04 Thread David Chelimsky
On Jun 3, 2011, at 12:20 PM, MattR wrote: > Hi folks, > > I've been searching google and I don't think this case has yet been > identified. I've got an older, Rails 2.3 app that is using rspec 1.3.x. We > upgraded Rake to 0.9.1, and now I get tons of deprecation warnings on > lib/tasks/rspec.

Re: [rspec-users] Not able to install rspec on Windows XP

2011-06-04 Thread Luis Lavena
On Wed, Jun 1, 2011 at 2:11 AM, Neha Thakur wrote: > Hi everyone, > > I have downloaded and saved the folder in C: > \Ruby192\rspec-1.2.9.rc1\rspec-1.2.9.rc1 > I am into the folder mentioned below and is trying to install rspec > but I am not able to do so...Can someone help me with this.. > > C:\

Re: [rspec-users] Not able to install rspec on Windows XP

2011-06-04 Thread David Chelimsky
On Wed, Jun 1, 2011 at 1:11 AM, Neha Thakur wrote: > Hi everyone, > > I have downloaded and saved the folder in C: > \Ruby192\rspec-1.2.9.rc1\rspec-1.2.9.rc1 > I am into the folder mentioned below and is trying to install rspec > but I am not able to do so...Can someone help me with this.. > > C:\

Re: [rspec-users] including a module with ActiveSupport::Concern works in console/site, but not in specs

2011-06-04 Thread David Chelimsky
On Jun 1, 2011, at 12:37 AM, JDeville wrote: > I have a simple module: > > module Buyer > extend ActiveSupport::Concern > > module ClassMethods > def delete_occasion(fb_id, recipient_fb_id, occasion_id) > # blah clah > end > end > end > > I include it like this: > class User

[rspec-users] rspec1.3.2/rspec-rails1.3.4 and Rake 0.9.1 = lots of deprecation warnings

2011-06-04 Thread MattR
Hi folks, I've been searching google and I don't think this case has yet been identified. I've got an older, Rails 2.3 app that is using rspec 1.3.x. We upgraded Rake to 0.9.1, and now I get tons of deprecation warnings on lib/tasks/rspec.rake:28: WARNING: Global access to Rake DSL methods is

[rspec-users] including a module with ActiveSupport::Concern works in console/site, but not in specs

2011-06-04 Thread JDeville
I have a simple module: module Buyer extend ActiveSupport::Concern module ClassMethods def delete_occasion(fb_id, recipient_fb_id, occasion_id) # blah clah end end end I include it like this: class User include Buyer end this works when running the server, and in the conso

[rspec-users] Not able to install rspec on Windows XP

2011-06-04 Thread Neha Thakur
Hi everyone, I have downloaded and saved the folder in C: \Ruby192\rspec-1.2.9.rc1\rspec-1.2.9.rc1 I am into the folder mentioned below and is trying to install rspec but I am not able to do so...Can someone help me with this.. C:\Ruby192\rspec-1.2.9.rc1\rspec-1.2.9.rc1>gem install spec ERROR: C

Re: [rspec-users] Migrating cucumber tm_bundle to rspec 2

2011-06-04 Thread Andrew Premdas
On 3 June 2011 15:17, David Chelimsky wrote: > On Jun 3, 2011, at 7:39 AM, Andrew Premdas wrote: > > > Hi there, > > > > I need some help migrating some code in the cucumber textmate bundle so I > can run the specs with rspec2. > > > > The following code lives in support/spec/spec_helper.rb and I