search for: bmabey

Displaying 6 results from an estimated 6 matches for "bmabey".

Did you mean: mabey
2009 Feb 25
5
[Cucumber] pretty html output?
Cucumberists (and RSpec Classic users ;): How can we convert a Cucumber feature file into HTML with syntax highlighting? Not the test-runner output; that''s preprocessed so it does not match the input file... Tx! -- Phlip
2009 Jan 28
2
[Cucumber, TextMate Bundle] Call for help
Hey all, As some of you may know I created the Cucumber TextMate bundle: http://github.com/bmabey/cucumber-tmbundle/tree/master What most of you probably don''t know is that I stopped using TextMate (in favor of Vim) several months ago. Since then the Cucumber bundle has been somewhat neglected by me and I''ve mostly pulled in patches and regenerated the syntax for new lang...
2010 Sep 30
5
response.should have_text leads to undefined method `has_text?'
One of my controllers directly renders some JSON output that I would like to test with RSpec. For that I use ''response.should have_text("foobar")'' in my spec file, but that leads to a Failure/Error: response.should have_text("enim") undefined method `has_text?'' for #<ActionController::TestResponse: 0xb6736944> I read here somewhere that webrat
2008 Jun 01
0
Railsconf and textmate bundle for Story Runner
...tmate bundle for the story runner while up here at railsconf. It is still pretty new but we think it already has some very helpful features that removes some of the pain points while writing plain text stories. It is on my github account if you want to learn more and try it out: http://github.com/bmabey/rspec-story-tmbundle/tree/master We are hoping to show it off during the lighting talk session at 11:30am on Sunday if you want to see a quick demo. Also, great job David on your presentation. I think a lot of the audience who hadn''t seen much of the story runner saw how useful it can b...
2010 Mar 03
1
Disabling database access in controller specs
It took a while, but now I an totally convinced that controller specs should not access the database and stub as much as possible. I''m committed to that style of writing, yet from time to time I incidentally allow it to happen. Is there a way to err on the safe side and have RSpec throw an error every time a controller spec attempts to access the database? And does it sound like a good
2009 Apr 26
9
Problems running features with Textmate Cucumber bundle
I finally plunked down for the beta RSpec bundle and I''m working through the initial example. Although I''m a fairly experienced RSpec user, I''m stlll learning new tricks. Anyway, I''m going though the mastermind example, and everything is going well, except that I decided to also try out the Textmate bundle for Cucumber. I decided to use Ben Mabey''s