ISTR that "destroy_all" will instantiate each object, before
destroying it. If you just want to clean the database, I think
"delete_all" is the one you want (it just does a "delete from
[table]", if memory serves), and should be a lot quicker.
David
2008/12/6 Mark Wilden <[EMAIL PROTECTED]>:
> O
> I have added th tickets for you and am working on fixes for them.
> Although, I think the last one needs to be discussed more so please add
> your thoughts to that ticket.
>
> http://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/117-cli-crashes-with-blank-cucumberyml
> http://rspec
Hi!
And now for the second part of the subject of my previous mails :)
$ cat cucumber.yml
default: .
autotest: -v .
autotest-all: -v -f progress .
$ cucumber -i . -f progress
PP
Pending Scenarios:
1) enlightenment (meditation)
$ AUTOFEATURE=true autospec # bug! prompt returns immediately,
On Thu, Dec 4, 2008 at 1:27 AM, Andrew Premdas <[EMAIL PROTECTED]> wrote:
> Oh but cucumber features so want to be idented on the I
>
> Scenario: Anonymous user can not duplicate a un-activated account
>Given I am an anonymous user
> And a registered user Fred exists
> When I signup
OK... I am making a mail library that is taking advantage of the new things
in 1.9, mainly encoding and the new regex goodness.
However, RSpec is not jiggy with it right now on 1.9... so I'm going to try
and scratch an itch here.
Has anyone started on this? I've started in terms of getting RSpec
On Sat, Dec 6, 2008 at 6:28 AM, Mikel Lindsaar <[EMAIL PROTECTED]> wrote:
> OK... I am making a mail library that is taking advantage of the new things
> in 1.9, mainly encoding and the new regex goodness.
> However, RSpec is not jiggy with it right now on 1.9... so I'm going to try
> and scratch a
Hi people!
I run
rake spec
** Invoke spec (first_time, not_needed)
and specs not started!
What that's mean?
Thanks!
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rs
On Sat, Dec 6, 2008 at 2:47 AM, David Salgado <[EMAIL PROTECTED]>wrote:
> ISTR that "destroy_all" will instantiate each object, before
> destroying it. If you just want to clean the database, I think
> "delete_all" is the one you want (it just does a "delete from
> [table]", if memory serves), and
Jeff Talbot wrote:
There is a seemingly very useful line of code in the cucumber wiki
that I'd like to use:
After do
# Scenario teardown
Database.truncate_all
end
(from
http://github.com/aslakhellesoy/cucumber/wikis/migration-from-rspec-stories)
But when I run this I get an uninit
On Fri, Dec 5, 2008 at 4:47 AM, Matt Wynne <[EMAIL PROTECTED]> wrote:
> I'll have to give autospec another shot then I guess. I have given up on it
> as it takes over 7 minutes to 'boot up' with our test suite, and I find it
> misses too many things it should have run, such that I have to hit CTRL
On Sat, Dec 6, 2008 at 7:04 AM, Kero van Gelder <[EMAIL PROTECTED]> wrote:
> $ AUTOFEATURE=true autospec # bug! prompt returns immediately, ZenTest
> gem not a dependency? a warning that autotest was not found would be nice.
Huh. The autospec command comes from RSpec; do you have this issue
On Sat, Dec 6, 2008 at 12:00 PM, Antonio Faust45 <[EMAIL PROTECTED]> wrote:
> rake spec
> ** Invoke spec (first_time, not_needed)
> and specs not started!
Oh! I' having the same problem and I just solved it! Well, half-solved it.
Rake, like make, operates on files. If you say "make somebinary
Thanks Pit!
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
> > $ AUTOFEATURE=true autospec # bug! prompt returns immediately, ZenTest
> > gem not a dependency? a warning that autotest was not found would be nice.
>
> Huh. The autospec command comes from RSpec; do you have this issue
> without setting AUTOFEATURE=true?
Yup.
But as I only have featu
Kero van Gelder wrote:
$ AUTOFEATURE=true autospec # bug! prompt returns immediately, ZenTest gem
not a dependency? a warning that autotest was not found would be nice.
Huh. The autospec command comes from RSpec; do you have this issue
without setting AUTOFEATURE=true?
Yup.
Mark Wilden wrote:
> Thanks for your replies, David and James. I figured as much, actually,
> since
> you wouldn't want to have some And steps in your definition file and
> some
> Given steps.
>
> I was led astray by "Inside a step_definitions.rb file, steps (which
> strictly speaking should alw
Yup, very much so IMO
2008/12/5 James Byrne <[EMAIL PROTECTED]>
> Andrew Premdas wrote:
> > Pretty hard for me to comment with so much stuff and so little context.
> > However :)
>
> My messages are quite long enough as it is I am afraid.
>
> > about a work order to produce invoices. You have to
Original post was somewhat flippant :)
To be more precise. This style is
"aligning on the first letter of the second word"
and basically is treating the first word as a label and the rest as content,
and using indentation to differentiate (hopefully clearly)
Andrew
2008/12/6 Mikel Lindsaar
18 matches
Mail list logo