Re: [rspec-users] Unable to Run 'bundle exec cucumber'

2012-07-23 Thread Justin Ko
On Jul 23, 2012, at 10:32 AM, Ja Tse wrote: > Hi, > > I have a cucumber problem that is preventing me from running all my > feature files, anyone has come across to this problem ? > > On Windows with. > > cucumber (1.2.1, 0.9.4) > > Command: bundle exec cucumber > > C:/Ruby187/lib/ruby/gems

Re: [rspec-users] A recently observed anti pattern: commented out tests

2012-07-23 Thread Adam Sroka
I haven't posted in a while, but I want to say that as someone who spends a significant portion of his time teaching (T/B)DD I am totally in love with pending specs. There are analogous concepts in nearly every xUnit/xSpec, but pending is by far the best. Kudos. On Jul 23, 2012 9:57 PM, "David Che

Re: [rspec-users] RSpec/rails & Capybara: #within

2012-07-23 Thread Justin Ko
On Jul 22, 2012, at 3:08 PM, Salvatore Pelligra wrote: > I'm new with Capybara and after a good amount of google, I still can't > figure out how the #within methods works! > I can use it only if I call visit before? There's no way to use it on a > string, like the `page = Capybara.string(html_str

Re: [rspec-users] A recently observed anti pattern: commented out tests

2012-07-23 Thread David Chelimsky
On Mon, Jul 23, 2012 at 11:19 AM, James Cox wrote: > Hey, > > in a bunch of the rescues i've recently done, I see a pretty big anti > pattern: tests don't work, and so rather than making them work, the > dev team just comments them out till 'later'. > > Does anyone think it'd be useful/interesting

Re: [rspec-users] A recently observed anti pattern: commented out tests

2012-07-23 Thread Todd Sedano
I must admit that I'm guilting of commenting out tests. I often do this when I know that the code works, and I just upgraded some gem, and now one of my tests no longer passes. I look at the test and realize that the effort it would take to get the test to work outweighs the value that the test pro

[rspec-users] Unable to Run 'bundle exec cucumber'

2012-07-23 Thread Ja Tse
Hi, I have a cucumber problem that is preventing me from running all my feature files, anyone has come across to this problem ? On Windows with. cucumber (1.2.1, 0.9.4) Command: bundle exec cucumber C:/Ruby187/lib/ruby/gems/1.8/gems/gherkin-2.2.9-x86-mingw32/lib/gherkin/lexer/i18n_lexer.rb:23

[rspec-users] A recently observed anti pattern: commented out tests

2012-07-23 Thread James Cox
Hey, in a bunch of the rescues i've recently done, I see a pretty big anti pattern: tests don't work, and so rather than making them work, the dev team just comments them out till 'later'. Does anyone think it'd be useful/interesting to get a flag for rspec which would compare lines vs lines-comm