I'm having trouble getting the specs to run for a plugin where I want to
fix a bug. (I've actually already found and fixed the bug, but I don't
want to submit a fix without a test!) When I started the specs weren't
running, but it may be that I'm using Rails 2.3.3 and the plugin has
been tested on
David Chelimsky wrote:
> Check out Pat's rspec plugin generator:
>
> http://github.com/pat-maddox/rspec-plugin-generator/tree/master
Hey thanks. That sounds like just the thing, but I'm kind of new to
this stuff. I guessed where to put it and it seemed to work so far.
I'm adding notes as I go
Ben Johnson wrote:
Did anyone ever figure out the factory_girl / machinist issues? I am
having the same problems and can figure out how to fix it for the life
of me. The first run works fine, then afterwards I get a bunch of these
errors:
No blueprint for class Venue
Any ideas? Thanks!
I
Ben Johnson wrote:
Did anyone ever figure out the factory_girl / machinist issues? I am
having the same problems and can figure out how to fix it for the life
of me. The first run works fine, then afterwards I get a bunch of these
errors:
No blueprint for class Venue
Any ideas? Thanks!
Did anyone ever figure out the factory_girl / machinist issues? I am
having the same problems and can figure out how to fix it for the life
of me. The first run works fine, then afterwards I get a bunch of these
errors:
No blueprint for class Venue
Any ideas? Thanks!
--
Posted via http://www.
> aslak hellesoy wrote:
>>>
>>> Hey Folks,
>>>
>>>
>>
>> Aargh profiles. The initial intention was that you could just do
>> cucumber -p foo.
>> And then you wouldn't have to type a lot of arguments.
>>
>> The intention was *not* to use -p along with additional arguments,
>> although cucumber lets
aslak hellesoy wrote:
Hey Folks,
Aargh profiles. The initial intention was that you could just do
cucumber -p foo.
And then you wouldn't have to type a lot of arguments.
The intention was *not* to use -p along with additional arguments,
although cucumber lets you do it by merging stuff t
> Hi all,
>
> It looks like the following line was removed from "/lib/spec/
> expectations.rb" on April 11:
>
> attr_accessor :differ
>
> When I try to use cucumber (version 0.3.6), it tries to
> call ::Spec:Expectations.differ= and fails. There does not seem to be
The actual command, error messa
> Hey Folks,
>
Aargh profiles. The initial intention was that you could just do
cucumber -p foo.
And then you wouldn't have to type a lot of arguments.
The intention was *not* to use -p along with additional arguments,
although cucumber lets you do it by merging stuff together.
Using profiles as
On Fri, May 22, 2009 at 8:26 AM, Ari wrote:
> Hi all,
>
> It looks like the following line was removed from "/lib/spec/
> expectations.rb" on April 11:
>
> attr_accessor :differ
>
> When I try to use cucumber (version 0.3.6), it tries to
> call ::Spec:Expectations.differ= and fails. There does no
Hey Folks,
I followed the instructions on
http://wiki.github.com/aslakhellesoy/cucumber/setting-up-selenium
and created 2 profiles: default and selenium. It works, but not if I
want to run one feature under a specifc profile. For example, I tried:
cucumber -p default --require features features/
Hi all,
It looks like the following line was removed from "/lib/spec/
expectations.rb" on April 11:
attr_accessor :differ
When I try to use cucumber (version 0.3.6), it tries to
call ::Spec:Expectations.differ= and fails. There does not seem to be
anything in the history regarding the removal/d
Still I am getting the same error
describe UsersController do
describe :create do
before(:each) do
controller.stub!(:require_user).and_return(@user)
controller.stub!(:uses_mailer).and_return(@user)
User.stub!(:new).and_return(@user)
post :create,{:terms_and_c
On Fri, May 22, 2009 at 1:41 AM, Amit Kulkarni wrote:
> Hi,
>
> I am trying to execute controller spec by referring to RSpec book
> but it is diving me error.
>
> Following are the details:
> Ruby version : 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
> rspec - 1.2.4
> rails - 2.1.2
> OS - Vi
On Fri, May 22, 2009 at 4:34 AM, Diwakar, ANGLER - EIT
wrote:
> My controller spec is like below
>
> describe UsersController do
>
> describe " create action" do
> before(:each) do
> @user = mock_model(User,:user => "value")
#don't need to set the user in this
@user = mock_model(User)
>
My controller spec is like below
describe UsersController do
describe " create action" do
before(:each) do
@user = mock_model(User,:user => "value")
controller.stub!(:require_user).and_return(@user)
controller.stub!(:uses_mailer).and_return(@user)
User.stub!(:new).and_return
Hi,
I am trying to execute controller spec by referring to RSpec book
but it is diving me error.
Following are the details:
Ruby version : 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
rspec - 1.2.4
rails - 2.1.2
OS - Vista Home
My channels_controller_spec.rb(which is under
rootproject/spec
17 matches
Mail list logo