On Mon, Sep 29, 2008 at 3:14 PM, Fernando Perez <[EMAIL PROTECTED]> wrote:
> Thanks Dave, I am starting to understand better the workflow to adopt
> with cucumber and webrat.
>
> By the way I am having some issues with the: I should see "..." regexp.
> If what I want to see has double quotes or bra
Thanks Dave, I am starting to understand better the workflow to adopt
with cucumber and webrat.
By the way I am having some issues with the: I should see "..." regexp.
If what I want to see has double quotes or brackets, it seems to fail
and not properly detect the string.
--
Posted via http:/
On Mon, Sep 29, 2008 at 5:10 AM, Fernando Perez <[EMAIL PROTECTED]> wrote:
>> Is there a way to skip database initialization? Because it takes too
>> much time to run each test.
> So do you handle data inside the testing environment. Let's say: Given
> there are 2 products available on the site.
>
On Sun, Sep 28, 2008 at 4:24 PM, Fernando Perez <[EMAIL PROTECTED]> wrote:
> Thank you David,
>
> Is there a way to skip database initialization? Because it takes too
> much time to run each test. Is there a similar way to mock objects or
> create objects and have them "saved" in memory? I don't un
> Is there a way to skip database initialization? Because it takes too
> much time to run each test.
So do you handle data inside the testing environment. Let's say: Given
there are 2 products available on the site.
Currently I am using 1.upto(2) do |i|; Product.create!(:title =>
"title#{i}"..
Thank you David,
Is there a way to skip database initialization? Because it takes too
much time to run each test. Is there a similar way to mock objects or
create objects and have them "saved" in memory? I don't understand how
to do that.
I use for instance Product.create!(:title => 'title', :
On Sun, Sep 28, 2008 at 1:55 PM, Fernando Perez <[EMAIL PROTECTED]> wrote:
> Bloody keyboard! del and enter keys are too close to one another...
>
> So my other questions are:
>
> - Where does Cucumber take its DB data from? Does it use the dev DB?
> Does it copy the data from my dev DB into the te
Bloody keyboard! del and enter keys are too close to one another...
So my other questions are:
- Where does Cucumber take its DB data from? Does it use the dev DB?
Does it copy the data from my dev DB into the test DB? When I run rake
features while my dev mongrel is running, I see some stuff g
On Sep 28, 2008, at 2:50 PM, Fernando Perez wrote:
Is there somewhere a real documentation about using Cucumber +
Webrat in
a Rails project?
For instance it seems that Cucumber doesn't understand the word
"Given"
like Story Runner does.
--
How about this?
http://github.com/aslakhelleso
Is there somewhere a real documentation about using Cucumber + Webrat in
a Rails project?
For instance it seems that Cucumber doesn't understand the word "Given"
like Story Runner does.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing l
10 matches
Mail list logo