Captain's Log: 2013.08.05
- Continued editing Preview, Example, and Amazon specs on
preview-refactor
branch
- edited Preview spec to use Example fixture and fakeweb
- we want the spec to not request a website, and to use our fixture
- we need to ask why is this important? Don't we want tests to fail once an actual website changes?
- created
response()
function in html spec helper for less repetitive code in specs- used
let()
to do lazy assignments
- ex:
let(:link) { "http://example.com" }
- finished creating and passing all tests for Amazon
- First spec finished with least amount of input from Captain Kurt yet!
- JZ: write tests
- Vyki: make tests pass
- learned more about Nokogiri, used
.first["src"]
to get src attribute for product image
- First pull request from Robin
- tiny change to keep us up-to-date with discourse/discourse
- oneboxer changes to discourse/discourse being redirected our way
- New recommended resources
- Bitcast.io - Captain Kurt suggested we use it for learning by creating our own screencasts on top of watching existing screencasts
- Rails 4 In Action - Book, check out the early access edition
- HOMEWORK: Listen to more RubyRogues, checkout Ruby Tapas
Meet @jzeta & @toastergrrl from Team Dysania! They are developers by night AND can make balloon arches:http://t.co/6cdokfAiN7 #teamoftheweek
— Rails Girls SoC (@RailsGirlsSoC) August 5, 2013