>> Another problem I met is with waiting for response after "press button"
>> method
>> All the time I get response with code before button pressed
>> It's connected with selenium_session.rb code and require me to change a
>> bit
> (...)
>> I don't know why I have to change it
>> Thanks
>
> That
That makes more sense than my theory.
Thank you Ben and thank you Balint.
BTW nice presentation
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Hi,
Nevermind that. I realized it works fine if I run rake spec, but not if I
run script/autospec and only some of the examples run.
Brandon
> -Original Message-
> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
> boun...@rubyforge.org] On Behalf Of Bernie
> Sent: Sunday, Ap
Hi,
Thanks. Installing term-ansicolor worked. The console still shows the colors
and the text files do not have strange characters.
Brandon
> -Original Message-
> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
> boun...@rubyforge.org] On Behalf Of Bernie
> Sent: Sunday, Apr
Hello Rspec Users,
I was wondering how you specify a nested resource in cucumber. So for
example:
Given I have a blogpost titled Question For Nice Rspec Users
When I am on the list of comments for Question For Nice Rspec Users
Then I should see "Answer"
Now, as one might expect, blogpost has_many
Brandon,
This was a tough one, although I still don't have color on autospec
(only have color when running specs manually ), AND I forgot exactly
how the problem was solved, but hopefully this will get you in the
right direction.
1. here are two gems that may help:
gem install term-ansicolo
On Sun, Apr 5, 2009 at 1:37 PM, David Chelimsky wrote:
>
> Also, this isn't necessarily an all or nothing deal. One way I've
> approached this that works well is to have a single scenario that
> describes the details we're talking about, and a lot more scenarios
> that are more declarative. Now yo
Mateusz Juraszek wrote:
Balint Erdi wrote:
Ben Mabey wrote:
Couple things I'd like to point out. In your enhanced.rb you don't need
to do the Before hook yourself. You can just require
'database_cleaner/cucumber'. I've updated your gist to use that.
In your plain.rb it seems like yo
Hi Mateusz,
>
> hi Ben
>
> I am newbie with cucumber and bdd. I was wondering if you can take a
> look on my problems.
> I have similar problem like Balint. I test my own and clearance features
> with selenium and webrat. I don't have to say that with werbrat
> everything is perfect. When I r
On Sun, Apr 5, 2009 at 10:03 AM, Mark Wilden wrote:
> Sometimes, they can be combined. But my point is that scenarios still
> have to describe how the user relates to the form
Scenarios should describe how a user relates to the application.
Whether you choose to do that by using fine- or course-g
On Sun, Apr 5, 2009 at 3:05 PM, Mark Wilden wrote:
> On Sun, Apr 5, 2009 at 11:16 AM, Zach Dennis wrote:
>>
>> It seems that when developers write scenarios they often walk through
>> everything logically and fill in every input field from a scenario.
>> When my customers write scenarios they don
On Sun, Apr 5, 2009 at 11:16 AM, Zach Dennis wrote:
>
> It seems that when developers write scenarios they often walk through
> everything logically and fill in every input field from a scenario.
> When my customers write scenarios they don't do this, they tend to
> think higher level. They write:
On Sun, Apr 5, 2009 at 12:58 PM, Brandon Olivares
wrote:
> Hi,
>
> Well the output on the console works fine, it's when it is output to a text
> file when I see those characters.
Ah - well, in theory that shouldn't happen, because the colorizing
checks to see if it's printing to a console or not.
On Sun, Apr 5, 2009 at 10:56 AM, David Chelimsky wrote:
> What you
> describe might be right for your team, but that doesn't mean it's
> right for mine.
Agreed.
> Keep in mind that the more imperative the scenarios are, the more of a
> maintenance burden they become.
I do work on this code, so
Hi,
Well the output on the console works fine, it's when it is output to a text
file when I see those characters.
Brandon
> -Original Message-
> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
> boun...@rubyforge.org] On Behalf Of David Chelimsky
> Sent: Sunday, April 05, 20
Balint Erdi wrote:
> Ben Mabey wrote:
>
>> Couple things I'd like to point out. In your enhanced.rb you don't need
>> to do the Before hook yourself. You can just require
>> 'database_cleaner/cucumber'. I've updated your gist to use that.
>> In your plain.rb it seems like you are trying to trun
On Sun, Apr 5, 2009 at 12:03 PM, Mark Wilden wrote:
> On Sun, Apr 5, 2009 at 5:20 AM, David Chelimsky wrote:
>
>> Given I register for a conference
>> Then my name should be on the list of conference attendees
>> And the conference should be my list of conferences
>
> If I were describing 'regist
On Sun, Apr 5, 2009 at 1:03 PM, Mark Wilden wrote:
> On Sun, Apr 5, 2009 at 5:20 AM, David Chelimsky wrote:
>
>> Given I register for a conference
>> Then my name should be on the list of conference attendees
>> And the conference should be my list of conferences
>
> If I were describing 'registe
On Sun, Apr 5, 2009 at 5:20 AM, David Chelimsky wrote:
> Given I register for a conference
> Then my name should be on the list of conference attendees
> And the conference should be my list of conferences
If I were describing 'register for a conference' in this scenario,
then I would think it i
Changing the name of this to hopefully catch the eye of other
Vista/cygwin/rspec users.
On Sun, Apr 5, 2009 at 9:45 AM, Brandon Olivares
wrote:
>
>
>> -Original Message-
>> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
>> boun...@rubyforge.org] On Behalf Of aslak hellesoy
>
Hi,
I followed the instructions at
http://wiki.github.com/aslakhellesoy/cucumber/setting-up-selenium to get
Selenium and Webrat to work with Cucumber. I have no problems using
Webrat but when I switch to use Selenium, I get the following error
message when I try to access the browser(e.g. calling
> -Original Message-
> From: rspec-users-boun...@rubyforge.org [mailto:rspec-users-
> boun...@rubyforge.org] On Behalf Of aslak hellesoy
> Sent: Sunday, April 05, 2009 6:50 AM
> To: rspec-users
> Subject: Re: [rspec-users] RSpec Formats with Strange Characters
>
>
> Please describe your
On Sun, Apr 5, 2009 at 4:24 AM, Matt Wynne wrote:
> On 5 Apr 2009, at 03:56, Brandon Olivares wrote:
>
>> Hi,
>>
>> How small should examples be?
>>
>> Let's say I have a form, should there be one example per field? If there's
>> a
>> dropdown, should I describe the dropdown and have one example p
On Sun, Apr 5, 2009 at 5:35 AM, Brandon Olivares
wrote:
> Sorry for another post. I have spec.opts writing certain formats to certain
> files. It looks like this: --colour --format progress --format
> nested:doc/nested.txt --format profile:doc/profile.txt --loadby mtime
> --reverse So I took a loo
Brandon Olivares wrote:
Is there any documentation of the rest of assert2? I found a web site I
think (assuming it's the same thing), but there wasn't really documentation
for assert_xhtml or assert_rjs.
assert_rjs is still in the oven, and assert_xhtml arrived too fast to get
anything more t
On 5 Apr 2009, at 03:56, Brandon Olivares wrote:
Hi,
How small should examples be?
Let's say I have a form, should there be one example per field? If
there's a
dropdown, should I describe the dropdown and have one example per
option? I
thought that at first but now, because of the duplica
Hi,
Thank you very much.
Is there any documentation of the rest of assert2? I found a web site I
think (assuming it's the same thing), but there wasn't really documentation
for assert_xhtml or assert_rjs.
Brandon
> -Original Message-
> From: rspec-users-boun...@rubyforge.org [mailto:rsp
27 matches
Mail list logo