30 Apr '13, 2pm

RSpecの勉強 / “Rubyist Magazine - スはスペックのス 【第 1 回】 RSpec の概要と、RSpec on Rails (モデル編)”

spec -fs array_spec.rb Array when empty - should be empty - should size 0 Array when initialized with object - should not affect others (FAILED - 1) 1) 'Array when initialized with object should not affect others' FAILED expected: [{:cat=>"Nuko"}, {}, {}], got: [{:cat=>"Nuko"}, {:cat=>"Nuko"}, {:cat=>"Nuko"}] (using ==) ./array_spec.rb:26: Finished in 0.009107 seconds 3 examples, 1 failure

Full article: http://jp.rubyist.net/magazine/?0021-Rspec#l29

Tweets

即ブクマした

jp.rubyist.net 01 May '13, 2am

test/ attributes definitions files libraries metadata.rb providers README.rdoc recipes resources templates

Whitespaceの魅力を語ってくれる学生を前にこれググってる。 

jp.rubyist.net 30 Apr '13, 6am

SSSTSSTSSS T SSSSSTTSSTST T SSSSSTTSTTSS T SSSSSTTSTTSS T SSSSSTTSTTTT T SSSSSTSSSSS T SSSSSTSTSTTT T SSSSSTTSTTTT T SSSSS...

Riding Rails: Rails 4.0: Release Candidate 1 re...

weblog.rubyonrails.org 02 May '13, 1am

Just in time for the opening of RailsConf, we managed to push out the first release candidate of Rails 4.0. This incorpora...

Rails 4.0: Release Candidate 1 released

weblog.rubyonrails.org 01 May '13, 9pm

Just in time for the opening of RailsConf, we managed to push out the first release candidate of Rails 4.0. This incorpora...