mock object nil when it shouldn’t be
RSpec::Mocks::Mock:0x3fda7eabfd68 @name=”mocked registration”
- mock objects don’t always define nil? or present?
David Chelimsky handing off rspec
David Chelmisky is stepping down as the RSpec lead after 6+ years. http://blog.davidchelimsky.net/2012/11/28/myron-marston-and-andy-lindeman-are-rspecs-new-project-leads/
Request log output in controller specs
We are getting info level log out put when running our specs from the controller examples. I don’t know how they are getting turned on nor how to turn them off
default host when using url helpers in regular classes
How do most projects handle the default host for url helpers when the helper is being included in presentation classes etc?
- Pass your controller to your presenter and ask the controller for url helpers
making rspec2 custom example groups
any one know how to define custom example groups in rspec and associate them with specs in a given folder.
Have you tried this gem? It kind of rocks it. Works great with a Heroku development environment. It even has files for different Rails modes, e.g.
There will be a Women Who Code meetup on Tuesday. Sarah Mei will be giving a lightning talk at it about a day in the life of an engineer. The organization is for both women who are currently coders and those just interested in coding.