[rspec-users] rcov including ruby lib

2007-09-24 Thread Brandon Keepers
When I run spec:rcov on my continuous integration server, the rcov report is including many other libraries in the report, including some from standard lib and gems. Has anyone else had this problem or have any ideas for how to limit it just to coverage of code in app/ and lib/? Thanks,

[rspec-users] rcov including ruby lib

2007-09-24 Thread Brandon Keepers
When I run spec:rcov on my continuous integration server, the rcov report is including many other libraries in the report, including some from standard lib and gems. Has anyone else had this problem or have any ideas for how to limit it just to coverage of code in app/ and lib/? Thanks,

Re: [rspec-users] Rspec Textmate bundle errors

2007-10-11 Thread Brandon Keepers
On Oct 10, 2007, at 9:20 PM, David Chelimsky wrote: > On 10/10/07, Alastair Moore <[EMAIL PROTECTED]> wrote: >> >> On 11 Oct 2007, at 01:03, David Chelimsky wrote: >> >>> We've been making some changes in trunk, so if you're using trunk >>> make >>> sure that you have the same revision of rspec

Re: [rspec-users] Mocking models provided in Rails plugins

2007-10-18 Thread Brandon Keepers
Dan, On Oct 18, 2007, at 6:14 PM, Dan Croak wrote: > Hey folks, > > How do I mock a model that is given to me by a Rails plugin? I'm > trying to mock Session from the restful_authentication plugin but I > get a number of errors telling me RSpec doesn't recognize Session. > > NameError in 'Ses

[rspec-users] strange error on mock proxy

2007-12-07 Thread Brandon Keepers
I'm banging my head over this really strange error in a view test when I run "rake spec". The weird thing is that I don't get the error when I run the spec file by itself. Here is the spec (I know, fixtures are the devil): describe "/units/new.html.erb here" do fixtures :units, :accounts,

Re: [rspec-users] strange error on mock proxy

2007-12-10 Thread Brandon Keepers
David, Did you ever get a chance to look at this to see if I am missing something obvious. I'm getting these errors randomly. Brandon On Dec 7, 2007, at 11:42 AM, Brandon Keepers wrote: I'm banging my head over this really strange error in a view test when I run "rake sp

Re: [rspec-users] Problems with form_for and partials

2008-03-14 Thread Brandon Keepers
Zach, On 3/14/08, Zach Moazeni <[EMAIL PROTECTED]> wrote: > > This hints at another extension I've wanted to write for us for a while. > Common html selector strings, Labels, input fields, textareas, forms, > links, etc > > Really just rolling up something like: > > response.shouldhave_tag("input[

Re: [rspec-users] plans for cucumber

2008-09-23 Thread Brandon Keepers
On Mon, Sep 22, 2008 at 9:52 AM, David Chelimsky <[EMAIL PROTECTED]>wrote: > Hey all, > > Let's make this official. We're planning to replace the RSpec Story > Runner with Cucumber. The rspec-1.1.5 release will still include the > Story Runner (several fixes since the last release). So if you're n

Re: [rspec-users] plans for cucumber

2008-09-23 Thread Brandon Keepers
On Tue, Sep 23, 2008 at 5:21 AM, Ashley Moran <[EMAIL PROTECTED] > wrote: > This is just how I use it anyway - maybe I'm alone in adding extra folders > like that. But I still find the nested structure much more logical than the > partially flat one. I agree. I tried nesting too without any lu