Giuseppe Bertini wrote:
Hello there,
is anyone still using fixture_scenarios with RSpec these days? They
don't seem to coexist peacefully anymore.
I just created a new rails (2.2.2) app, generated an rspec_scaffold
(with v. 1.1.12), and verified that all specs pass.
But if I then install the f
I am specing a feature, maybe at more high level of what it should be,
and this makes scenarios that involves more that one rails controller.
Is it possible or convenient?
I have scenarios like this (although it's only an unreal example):
Feature: Making a reservation for a service.
Scenario:
On Wed, Jan 21, 2009 at 6:49 AM, Juanma Cervera wrote:
> I am specing a feature, maybe at more high level of what it should be,
> and this makes scenarios that involves more that one rails controller.
>
> Is it possible or convenient?
>
> I have scenarios like this (although it's only an unreal ex
Hi,
Is it bad form to use a 'Then' after a 'When' and then a 'Then'?
When the CiP ingest checkbox is clicked
Then '1 Spool(s) in Cart' should appear
When the Add button is clicked
Then an ingest user is on the BBC Cart page
Or should I create a new scenario and use a 'Given'?
Or can I hav
Hi,
Apologies only just read the last post re: multiple iterations: please ignore.
Aidy
On 21/01/2009, aidy lewis wrote:
> Hi,
>
> Is it bad form to use a 'Then' after a 'When' and then a 'Then'?
>
> When the CiP ingest checkbox is clicked
> Then '1 Spool(s) in Cart' should appear
> When
Thank you David.
All make a lot of sense.
With the urls I only was trying to clarify that the scenario spans
across multiple controllers, but I am making the specs as you recommend.
Juanma
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mai
Juanma Cervera wrote:
I am specing a feature, maybe at more high level of what it should be,
and this makes scenarios that involves more that one rails controller.
Is it possible or convenient?
I do not think its a problem touching multiple controllers if that's
what is required for the use
On Wed, Jan 21, 2009 at 9:35 AM, Joseph Wilk wrote:
> Juanma Cervera wrote:
>>
>> I am specing a feature, maybe at more high level of what it should be,
>> and this makes scenarios that involves more that one rails controller.
>>
>> Is it possible or convenient?
>>
>>
>
> I do not think its a prob
Hi David,
On 21/01/2009, David Chelimsky wrote:
> text on the button that is deemed to have business value, then you
> might say "And I click 'Request Service'" - but if you're referencing
> DOM IDs or HTML element names like 'submit', I'd hide those.
However we could get a lot of re-use in
On Wed, Jan 21, 2009 at 9:27 AM, aidy lewis wrote:
> Hi David,
> On 21/01/2009, David Chelimsky wrote:
>
>> text on the button that is deemed to have business value, then you
>> might say "And I click 'Request Service'" - but if you're referencing
>> DOM IDs or HTML element names like 'submit'
Assuming that your steps are focused on using DOM Id's what sort of
convention would you use to translate from the narrative of the step to the
DOM id.
Would you avoid the brittleness that "clicks submit link|button" has over "I
submit". Thats me arguing that whether its a link or a button, and wh
11 matches
Mail list logo