[rspec-users] rpsec-rails overwriting RAILS_ENV?

2009-01-15 Thread Matt Wynne
Hi folks, We have a features environment for Rails, where we run the Cucumber stuff. This lets us run specs and features in different databases, which can be handy. I think I've found that rspec-rails 1.1.12 is doing something nasty to the RAILS_ENV constant to force it to == test Line

[rspec-users] Step tables

2009-01-15 Thread Juanma Cervera
I am having some trouble using step tables. I am trying with an step similar to the sample step generarated by the cucumber generator Then /^I should see the following froobles:$/ do |froobles| froobles.raw[1..-1].each_with_index do |row, i| row.each_with_index do |cell, j|

Re: [rspec-users] Step tables

2009-01-15 Thread Juanma Cervera
¿Where is the method raw defined? Sorry this is stupid. Forget my last question -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] cucumber rake file question

2009-01-15 Thread Tom Cloyd
Real beginner question here. I don't really know rake, so I'm stumbling. As I set a dir to hold my feature files, etc., I'm simply copying the files structure I see in /usr/lib/ruby/gems/1.8/gems/cucumber-0.1.13/examples/i18n/en/ I know we need a Rake file ME little dir tree, but I don't

Re: [rspec-users] [cucumber] missing the command --line option

2009-01-15 Thread Fernando García Samblas
aslak hellesoy escribió: foo.feature:line is even faster - you can copy-paste it In two words: awe-some :) Thanks again! http://wiki.github.com/aslakhellesoy/cucumber/running-features I should read the wiki before asking at the list I should read the wiki before asking at the list I should

Re: [rspec-users] rpsec-rails overwriting RAILS_ENV?

2009-01-15 Thread David Chelimsky
On Thu, Jan 15, 2009 at 2:58 AM, Matt Wynne m...@mattwynne.net wrote: Hi folks, We have a features environment for Rails, where we run the Cucumber stuff. This lets us run specs and features in different databases, which can be handy. I think I've found that rspec-rails 1.1.12 is doing

Re: [rspec-users] [cucumber] missing the command --line option

2009-01-15 Thread Fernando García Samblas
Matt Wynne escribió: Use this syntax: cucumber path/to/your.feature:41 Thanks Matt! I should read usage info from top to bottom before asking in the list I should read usage info from top to bottom before asking in the list I should read usage info from top to bottom before asking in the list

Re: [rspec-users] OT: Who To Ask About Screw.Unit?

2009-01-15 Thread Mike Gaffney
s.ross's email about Screw.Unit brought prompted me to ask this question: 1) What do you use for Javascript Unit testing? 2) How do you integrate it with a continuous build such as CCRB? (I'm guessing selenium). -Mike ___ rspec-users mailing list

Re: [rspec-users] OT: Who To Ask About Screw.Unit?

2009-01-15 Thread David Chelimsky
On Wed, Jan 14, 2009 at 6:39 PM, s.ross cwdi...@gmail.com wrote: I've been using Screw.Unit for some js testing and like the similarity to rSpec, but information is pretty scarce on the Web. What I'm trying to sort out is how to spec a jQuery click handler that submits a form (basically

[rspec-users] Cucumber HTML in IE6

2009-01-15 Thread aidy lewis
Hi, The users are using IE6. The Cucumber HTML appears fine in firefox, opera, IE7 etc. However, I am not receiving any colouring in IE6. I put the cucumber.css through the w3c validator and no errors. Is anyone else having the same problem? Aidy

Re: [rspec-users] cucumber rake file question

2009-01-15 Thread Pat Maddox
On Thu, Jan 15, 2009 at 4:07 AM, Tom Cloyd tomcl...@comcast.net wrote: Real beginner question here. I don't really know rake, so I'm stumbling. As I set a dir to hold my feature files, etc., I'm simply copying the files structure I see in

Re: [rspec-users] OT: Who To Ask About Screw.Unit?

2009-01-15 Thread s.ross
On Jan 15, 2009, at 7:24 AM, Mike Gaffney wrote: s.ross's email about Screw.Unit brought prompted me to ask this question: 1) What do you use for Javascript Unit testing? I've tried jsspec and Screw.Unit and so far I'm thinking Screw.Unit is better suited to what I'm doing. It has nested

Re: [rspec-users] cucumber rake file question

2009-01-15 Thread aslak hellesoy
On Thu, Jan 15, 2009 at 4:16 PM, Pat Maddox perg...@gmail.com wrote: On Thu, Jan 15, 2009 at 4:07 AM, Tom Cloyd tomcl...@comcast.net wrote: Real beginner question here. I don't really know rake, so I'm stumbling. As I set a dir to hold my feature files, etc., I'm simply copying the files

Re: [rspec-users] cucumber rake file question

2009-01-15 Thread David Chelimsky
On Thu, Jan 15, 2009 at 9:16 AM, Pat Maddox perg...@gmail.com wrote: On Thu, Jan 15, 2009 at 4:07 AM, Tom Cloyd tomcl...@comcast.net wrote: Real beginner question here. I don't really know rake, so I'm stumbling. As I set a dir to hold my feature files, etc., I'm simply copying the files

Re: [rspec-users] Cucumber HTML in IE6

2009-01-15 Thread Nick Hoffman
On 2009-01-15, at 11:35, aslak hellesoy wrote: On Thu, Jan 15, 2009 at 5:18 PM, aidy lewis aidy.le...@googlemail.com wrote: Hi, The users are using IE6. The Cucumber HTML appears fine in firefox, opera, IE7 etc. However, I am not receiving any colouring in IE6. I put the cucumber.css

Re: [rspec-users] Cucumber HTML in IE6

2009-01-15 Thread Mischa Fierer
While I agree that ie6 must die, the fix required to make it work sounds minimal in this case. I may be wrong. Perhaps, Aidy, you would be interested in submitting a patch which Aslak could then decide on? M On Thu, Jan 15, 2009 at 12:27 PM, Nick Hoffman n...@deadorange.com wrote: On

Re: [rspec-users] New rescue_from handling in rspec-rails 1.1.12

2009-01-15 Thread Chris Kampmeier
On Wed, Jan 14, 2009 at 7:30 PM, David Chelimsky dchelim...@gmail.comwrote: On Wed, Jan 14, 2009 at 8:23 PM, Chris Kampmeier ch...@kampers.net wrote: (Or, here's a syntax-highlighted pastie: http://pastie.org/361114) Don't forget that the spec should come first :) Also, you're spec'ing

[rspec-users] GivenScenario in cucumber

2009-01-15 Thread Bart Zonneveld
Hey all, I've read http://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/3-%20%20create-givenscenario-dependency-accross-feature-file , and would like to share another idea about this. I'm building a blog at the moment, in which users can report a comment as spam. So, I have a

Re: [rspec-users] Help with regexp in matcher

2009-01-15 Thread James Byrne
Matt Wynne wrote: +1 to all that. I feel like you get lectured quite a bit by this list James, but you'd do well to heed the advice of some battle-hardened journeymen, IMO. I thought that you might like to know that, after reflecting on this overnight, I took this matter up in a design

Re: [rspec-users] Cucumber HTML in IE6

2009-01-15 Thread aslak hellesoy
On Thu, Jan 15, 2009 at 9:25 PM, Mischa Fierer f.mis...@gmail.com wrote: While I agree that ie6 must die, the fix required to make it work sounds minimal in this case. I may be wrong. Perhaps, Aidy, you would be interested in submitting a patch which Aslak could then decide on? I'm

[rspec-users] Which webrat gem should be used?

2009-01-15 Thread Nick Hoffman
Hi guys. Which webrat gem should be used? There seem to be a few: $ gem search -r webrat *** REMOTE GEMS *** aslakhellesoy-webrat (0.3.2.2) benschwarz-webrat (0.3.2.1) brynary-webrat (0.3.2.2) flazz-webrat (0.3.2.1) mfilej-webrat (0.2.1) webrat (0.3.4)