Re: [rspec-users] Coding standards and whitespace

2007-07-29 Thread Wincent Colaiuta
El 27/7/2007, a las 23:38, David Chelimsky escribió: > On 7/26/07, Wincent Colaiuta <[EMAIL PROTECTED]> wrote: >> Recently as a result of using Git I've noticed a number of >> inconsistencies in the RSpec codebase with respect to whitespace >> (mixed line endings, mixed use of spaces and tabs for

Re: [rspec-users] View-Driven-Development by Behavior-Driven-Development and RSpec

2007-07-29 Thread David Chelimsky
On 7/29/07, Nathan Sutton <[EMAIL PROTECTED]> wrote: > I want to do View-Driven-Development by Behavior-Driven-Development, > but I'm stumped really where to begin. Ideally I'd like to see a > tutorial or something that walks though it, or browse through some > projects using RSpec for the views,

[rspec-users] Isolating rails model specs from their implementation

2007-07-29 Thread Russell Tracey
I'm currently taking a Rails project management app I built when learning Rails and adding specs to it. During the course of building the app the requirement that project should be archiveable was added. So a project is in one of two states active or archived. This led to the creation of the follo

Re: [rspec-users] Isolating rails model specs from their implementation

2007-07-29 Thread Kyle Hargraves
Russell Tracey wrote: > It's my understanding that model specs (and specs in general) should > be shielded from the implementation details, so how do i check that > Project.active_projects only returns active projects without looking > at assuming something about the implementation? My initial thou

Re: [rspec-users] Isolating rails model specs from their implementation

2007-07-29 Thread David Chelimsky
On 7/29/07, Russell Tracey <[EMAIL PROTECTED]> wrote: > I'm currently taking a Rails project management app I built when > learning Rails and adding specs to it. During the course of building > the app the requirement that project should be archiveable was added. > So a project is in one of two sta

Re: [rspec-users] Isolating rails model specs from their implementation

2007-07-29 Thread Russell Tracey
On 29/07/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > On 7/29/07, Russell Tracey <[EMAIL PROTECTED]> wrote: > > I'm currently taking a Rails project management app I built when > > learning Rails and adding specs to it. During the course of building > > the app the requirement that project shou

Re: [rspec-users] Isolating rails model specs from their implementation

2007-07-29 Thread David Chelimsky
On 7/29/07, Russell Tracey <[EMAIL PROTECTED]> wrote: > On 29/07/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > > On 7/29/07, Russell Tracey <[EMAIL PROTECTED]> wrote: > > > I'm currently taking a Rails project management app I built when > > > learning Rails and adding specs to it. During the co

Re: [rspec-users] Isolating rails model specs from their implementation

2007-07-29 Thread David Chelimsky
On 7/29/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > On 7/29/07, Russell Tracey <[EMAIL PROTECTED]> wrote: > > On 29/07/07, David Chelimsky <[EMAIL PROTECTED]> wrote: > > > On 7/29/07, Russell Tracey <[EMAIL PROTECTED]> wrote: > > > > I'm currently taking a Rails project management app I built