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
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,
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.
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.
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:\
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:\
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
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
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
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
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
11 matches
Mail list logo