On 8/24/07, Pat Maddox <[EMAIL PROTECTED]> wrote:
> On 8/24/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
> > On 8/24/07, Pat Maddox <[EMAIL PROTECTED]> wrote:
> > > On 8/24/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
> > > > describe Widget, "class" do
> > > > it "should provide a list of wi
On 8/24/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On 8/24/07, Pat Maddox <[EMAIL PROTECTED]> wrote:
> > On 8/24/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
> > > describe Widget, "class" do
> > > it "should provide a list of widgets sorted alphabetically" do
> > > Widget.should_rece
On 8/24/07, Pat Maddox <[EMAIL PROTECTED]> wrote:
> On 8/24/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
> > describe Widget, "class" do
> > it "should provide a list of widgets sorted alphabetically" do
> > Widget.should_receive(:find).with(:order => "name ASC")
> > Widget.find_alphabe
On 8/24/07, Jim Deville <[EMAIL PROTECTED]> wrote:
>
> On Aug 23, 2007, at 9:48 PM, Pat Maddox wrote:
>
> > On 8/23/07, Jim Deville <[EMAIL PROTECTED]> wrote:
> >>
> >>> As far as model specs go...I've been toying with the idea of
> >>> splitting
> >>> up non-db-reliant behavior specs from the
On 8/24/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
> describe Widget, "class" do
> it "should provide a list of widgets sorted alphabetically" do
> Widget.should_receive(:find).with(:order => "name ASC")
> Widget.find_alphabetically
> end
> end
>
> You're correct that the refactorin
On 8/24/07, Jim Deville <[EMAIL PROTECTED]> wrote:
>
> On Aug 23, 2007, at 9:48 PM, Pat Maddox wrote:
>
> > On 8/23/07, Jim Deville <[EMAIL PROTECTED]> wrote:
> >>
> >>> As far as model specs go...I've been toying with the idea of
> >>> splitting
> >>> up non-db-reliant behavior specs from the
On Aug 23, 2007, at 9:48 PM, Pat Maddox wrote:
> On 8/23/07, Jim Deville <[EMAIL PROTECTED]> wrote:
>>
>>> As far as model specs go...I've been toying with the idea of
>>> splitting
>>> up non-db-reliant behavior specs from the specs that do require the
>>> database. When you want to speci
On 8/20/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On 8/20/07, Zach Dennis <[EMAIL PROTECTED]> wrote:
> > On 8/20/07, aslak hellesoy <[EMAIL PROTECTED]> wrote:
> > > Several problems here:
> > >
> > > First, rspec_scaffold must be given a *singularised* name, in your
> > > case 'product'. (Th
On 8/24/07, David Green <[EMAIL PROTECTED]> wrote:
>
> hypothetical question for all you BDD experts:
>
> I want to make sure that a :list action always returns widgets in
> alphabetical order. There's at least 2 ways of doing this:
>
>
> it "should fetch items in alphabetical order" do
> Widget.
On 8/24/07, Priit Tamboom <[EMAIL PROTECTED]> wrote:
> On 8/16/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
> >
> > On 8/15/07, Courtenay <[EMAIL PROTECTED]> wrote:
> > > On 8/15/07, Priit Tamboom <[EMAIL PROTECTED]> wrote:
> >
> > > > describe ApplicationController do
> > > >it "method login
On 8/24/07, David Green <[EMAIL PROTECTED]> wrote:
>
> hypothetical question for all you BDD experts:
>
> I want to make sure that a :list action always returns widgets in
> alphabetical order. There's at least 2 ways of doing this:
>
> it "should fetch items in alphabetical order" do
> Widget.sh
On 8/16/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
>
> On 8/15/07, Courtenay <[EMAIL PROTECTED]> wrote:
> > On 8/15/07, Priit Tamboom <[EMAIL PROTECTED]> wrote:
>
> > > describe ApplicationController do
> > >it "method login_required should redirect to home path without
> login" do
> >
> >
hypothetical question for all you BDD experts:
I want to make sure that a :list action always returns widgets in
alphabetical order. There's at least 2 ways of doing this:
it "should fetch items in alphabetical order" do
Widget.should_receive(:find).with(:order => "name ASC")
get :list
end
13 matches
Mail list logo