Red, Green, Refactor! A Workflow for Rails
July 03, 20131. Write a failing test Use the failures to drive development: 2. No Route Add one to /config/routes.rb: 3.No Controller Add one to…
1. Write a failing test Use the failures to drive development: 2. No Route Add one to /config/routes.rb: 3.No Controller Add one to…
Following along with Rails tutorial by Michael Hartl, I built a sample app with a simple database, linking users to microposts in a twitter…
I am really enjoying Test-Driven Development by Christian Johansen I picked up this little gem this morning as I was learning about…
Spies vs Mocks vs Stubs? We are covering testing frameworks at PCS this week, particularly Jasmine and Sinon. Jasmine has a similar…
Object blocker!! My pair was stuck for the longest time on the following code snip: We expected out output to include three elements — the…
solving namespace conflicts with jquery
learning jekyll, yaml, and bootstrap
This week @PDXcodeschool we jumped into TDD using minitest/autorun. I have used RSpec in the past, and loved the way it let me manage the…
My page wouldn’t flash the user. Trundling along the Hartl railstutorial, I needed to write some logic to allow a user to update their…