« Previous -
Version 4/8
(diff) -
Next » -
Current version
Zach Moazeni, 05/24/2009 07:39 pm
Code Reviews¶
Volunteers¶
- Mike Gunderloy
- Zach Moazeni
Asking for help¶
- Create a Github Gist with the code you want to go over
- Ping the RailsBridge mailing list for help (including the gists)
Code Review Recaps¶
- People: Sarah Allen (coder), Zach Moazeni (reviewer)
- Help: Using RSpec to test plugins
- Transcript: campfire
- Gists: https://gist.github.com/71a30f8d26928dfe9663, https://gist.github.com/cf7dff6a2620993654b8
- Take Aways
- Check your assumptions if something "feels" wacky.
- Sometimes you need to tell RSpec what "type" of spec it is
describe SomeClass, :type => :helper
- Changing
ENV['RAILS_ENV']can be dangerous. Instead push that type of logic into tiny classes. - Sometimes looking at how other projects solve problems can help frame your own problem