Re: [rspec-users] [rspec-devel] The RSpec Book

2008-12-19 Thread David Chelimsky
Hi all - I'm sorry to report that we were not able to get the beta out this month as we had hoped. We're very close, and should have a beta for you in early January, but with holiday schedules as they are it's just not possible to tie up the necessary loose ends before the year's end. That said, I

Re: [rspec-users] [rspec-devel] The RSpec Book

2008-12-19 Thread Tim Walker
As am I! Really looking forward to it. Thanks guys for any head's up or link to the preview/beta! Tim On Fri, Dec 19, 2008 at 10:56 AM, Daniel Area Criações wrote: > I am also super interested in this book > Atenciosamente, > > Daniel Lopes  Area Criações > Design, Websites e Sistemas Web > >

Re: [rspec-users] New article on "Listening to Your Specs" up on Ruby Advent 2008

2008-12-19 Thread Lenny Marks
On Dec 19, 2008, at 12:55 PM, Avdi Grimm wrote: On Fri, Dec 19, 2008 at 12:02 PM, Lenny Marks wrote: Thanks to you and Dave for your responses. I've commented on the original article with back links to this thread. Hope I didn't overstep by saying "I think there is some consensus that 'Con

Re: [rspec-users] Using semantics in steps

2008-12-19 Thread Andrew Premdas
A style thing, just exploring interactions between features and UI 2008/12/19 David Chelimsky > Is this a feature request or a style thing? > > On Fri, Dec 19, 2008 at 11:01 AM, Aslak Hellesøy > wrote: > > > >> On Fri, Dec 19, 2008 at 1:09 AM, Andrew Premdas > >> wrote: > >>> > >>> Hi All, > >

Re: [rspec-users] Using semantics in steps

2008-12-19 Thread Andrew Premdas
Was just using your code as an example, not being critical of it. Sorry if it came out that way :). In its context it makes its point very clearly. Andrew 2008/12/19 Aslak Hellesøy > > On Fri, Dec 19, 2008 at 1:09 AM, Andrew Premdas >> wrote: >> >>> Hi All, >>> >>> Wanted to put this idea for

Re: [rspec-users] Using semantics in steps

2008-12-19 Thread Zach Dennis
On Fri, Dec 19, 2008 at 1:13 PM, David Chelimsky wrote: > Is this a feature request or a style thing? I believe strictly style. Webrat supports within already, ie: within "#my-css-selector" do |scope| scope.should have_selector("child element") end > > On Fri, Dec 19, 2008 at 11:01 AM, Aslak

Re: [rspec-users] New article on "Listening to Your Specs" up on Ruby Advent 2008

2008-12-19 Thread Ben Mabey
Avdi Grimm wrote: On Fri, Dec 19, 2008 at 12:02 PM, Lenny Marks wrote: Thanks to you and Dave for your responses. I've commented on the original article with back links to this thread. Hope I didn't overstep by saying "I think there is some consensus that 'Contexts named after methods' is no

Re: [rspec-users] Using semantics in steps

2008-12-19 Thread David Chelimsky
Is this a feature request or a style thing? On Fri, Dec 19, 2008 at 11:01 AM, Aslak Hellesøy wrote: > >> On Fri, Dec 19, 2008 at 1:09 AM, Andrew Premdas >> wrote: >>> >>> Hi All, >>> >>> Wanted to put this idea forward, see what you think of it. I'm using >>> Aslaks >>> lorry feature to illustra

Re: [rspec-users] [rspec-devel] The RSpec Book

2008-12-19 Thread Daniel Area Criações
I am also super interested in this book Atenciosamente, Daniel Lopes  Area Criações Design, Websites e Sistemas Web Visite: http://www.areacriacoes.com.br/projects http://blog.areacriacoes.com.br/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 55 (31)

Re: [rspec-users] New article on "Listening to Your Specs" up on Ruby Advent 2008

2008-12-19 Thread Avdi Grimm
On Fri, Dec 19, 2008 at 12:02 PM, Lenny Marks wrote: > Thanks to you and Dave for your responses. I've commented on the original > article with back links to this thread. Hope I didn't overstep by saying "I > think there is some consensus that 'Contexts named after methods' is not a > smell and ca

Re: [rspec-users] OT: Implementation Question

2008-12-19 Thread James Byrne
Andrew Premdas wrote: > You can use read_attribute and write_attribute in models to do this sort > of thing - though I'm not really clear exactly what it is you're trying > to do. > I don't think normalising is quite the right term here. Ahh. Well when I was working with sendmail email addresse

Re: [rspec-users] OT: Implementation Question

2008-12-19 Thread James Byrne
Thanks for the responses. For some reason they showed up in the digest email and yet have still not made it to the RSpec forum at Ruby_forum.com. I have been trying variants of these suggestions, indeed my very first approach was: def username @username.hll_keycase end However, I am wor

Re: [rspec-users] New article on "Listening to Your Specs" up on Ruby Advent 2008

2008-12-19 Thread Lenny Marks
On Dec 16, 2008, at 3:58 PM, Ben Mabey wrote: Lenny Marks wrote: On Dec 9, 2008, at 10:40 PM, Avdi Grimm wrote: I contributed an article on BDD and RSpec to the Ruby Advent Calendar 2008, going over some of the rules I've collected for interpreting what your specs say about your design.

Re: [rspec-users] [rspec-devel] The RSpec Book

2008-12-19 Thread Juanma Cervera
I've gota a question. Is the beta for the book coming soon before Christmas or do I better think in something different from Santa Claus? Oh. Please!! Juanma -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rub

Re: [rspec-users] OT: Implementation Question

2008-12-19 Thread Andrew Premdas
You can use read_attribute and write_attribute in models to do this sort of thing - though I'm not really clear exactly what it is you're trying to do. I don't think normalising is quite the right term here. Anyhow I think you're saying that you have an attribute whose storage format is different

Re: [rspec-users] OT: Implementation Question

2008-12-19 Thread Pat Maddox
On Fri, Dec 19, 2008 at 7:50 AM, James Byrne wrote: > I have asked about this issue on several different mailing lists and > have had no response. If anyone here can offer some advice then I would > be much obliged. > > I have a feature that essentially says: > > Given I have a user "myuser" > W

Re: [rspec-users] Using semantics in steps

2008-12-19 Thread Aslak Hellesøy
On Fri, Dec 19, 2008 at 1:09 AM, Andrew Premdas wrote: Hi All, Wanted to put this idea forward, see what you think of it. I'm using Aslaks lorry feature to illustrate this. See http://github.com/aslakhellesoy/cucumber_rails/tree/master/features/step_definitions/lorry_steps.rb . In part

Re: [rspec-users] Using semantics in steps

2008-12-19 Thread Zach Dennis
On Fri, Dec 19, 2008 at 1:09 AM, Andrew Premdas wrote: > Hi All, > > Wanted to put this idea forward, see what you think of it. I'm using Aslaks > lorry feature to illustrate this. See > http://github.com/aslakhellesoy/cucumber_rails/tree/master/features/step_definitions/lorry_steps.rb. > > In par

[rspec-users] OT: Implementation Question

2008-12-19 Thread James Byrne
I have asked about this issue on several different mailing lists and have had no response. If anyone here can offer some advice then I would be much obliged. I have a feature that essentially says: Given I have a user "myuser" When I fill in "User Name" with "MyUser" And I press "Login"

Re: [rspec-users] Using semantics in steps

2008-12-19 Thread Peter Jaros
On Fri, Dec 19, 2008 at 1:09 AM, Andrew Premdas wrote: > then we have > > 1) Defined semantic tags that the designer should not touch > 2) Not relied on any html elements that a designer might change > 3) Created a step that works with the meaning of the UI not its presentation > > So what do you

Re: [rspec-users] Broken rake tasks

2008-12-19 Thread Ivor Paul
The latest rspec-rails and rspec worked for me. Are you using the remarkable gem? On Fri, Dec 19, 2008 at 3:08 AM, Andrew Premdas wrote: > No I don't think so. I'll post something when I next try and get the tasks > to work > > 2008/12/17 Ivor Paul > > HI Andrew >> >> I am getting the same prob