I am writing a gem and using RSpec to drive my development. However,
whenever I describe a class within the gems lib I get an uninitialized
constant error. I am placing my folder structure, spec.rake and first
spec below. I feel I must be missing something obvious.
Additionally, I did o
Try rspactor. I have been using since the author pinged this list
several months ago. No complaints thus far. To your point, it
doesn't bomb when there is an error.
Anthony Broad-Crawford
On Jul 28, 2008, at 7:19 PM, Mark Wilden wrote:
On Mon, Jul 28, 2008 at 3:10 PM, Evan Dorn &l
test quicker, as
you have that rich suite of tests to support development and testing
efforts. Just my $0.02.
Anthony Broad-Crawford
On Jul 7, 2008, at 2:25 PM, yitzhakbg wrote:
This might be a loaded question on this forum, but here goes:
Just had a discussion with a prospective employ
sword)
Why doesn't mock model interrogate the attributes and generate these
mocks for me? Thanks for taking the time to answer.
Anthony Broad-Crawford
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/list
rofile.rb"
end
We like this as we are only testing the code we write and not testing
ActiveRecord. If anyone has a better approach I know we would be
interested in learning about it.
Anthony Broad-Crawford
___
rspec-users mailing list
rspec
load "profile.rb"
end
end
Anthony Broad-Crawford
On Mar 31, 2008, at 8:21 PM, Tim Haines wrote:
Hi there,
A couple of complete newb questions here.
Should I be spec'ing the existence of attributes on models? While
reading through the docs and googlin
thank you!
On Mar 3, 2008, at 10:46 PM, David Chelimsky wrote:
> On Mon, Mar 3, 2008 at 9:42 PM, Anthony Broad-Crawford
> <[EMAIL PROTECTED]> wrote:
>> I am looking for a good a - z matchers tutorial . Anyone got a url
>> for one?
>
> There
I am looking for a good a - z matchers tutorial . Anyone got a url
for one?
Thanks
Anthony Broad-Crawford
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
ady (although
google didn't yield anything noteworthy).
Thanks,
Anthony Broad-Crawford
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
yes, thank you very much!
On Feb 21, 2008, at 5:23 PM, [EMAIL PROTECTED] wrote:
> On Feb 21, 10:40 am, Anthony Broad-Crawford [EMAIL PROTECTED]> wrote:
>> I am testing an action on a controller and cannot seem to find the
>> syntax to stub a method call off of the contr
I am testing an action on a controller and cannot seem to find the
syntax to stub a method call off of the controller I am testing.
pseudo code
class SomeController < < ApplicationController
def some_action
stuff
stuff
stuff
11 matches
Mail list logo