I just don't get why "expect(foo).to eq(bar)" is in any way more readable or usable than "assert_equal(foo,bar)" (foo.should == bar is dead)
-
-
Replying to @samsaffron
@samsaffron@blowmage except it's not "foo" and "bar", it's expected and actual. Which goes where on an assert?1 reply 0 retweets 0 likes -
Replying to @blowmage
@blowmage@bascule I agree with that ... found my self doing the same yesterday, simpler https://github.com/discourse/discourse/blob/master/spec/components/site_settings/local_process_provider_spec.rb#L6-L10 …1 reply 0 retweets 0 likes
Replying to @samsaffron
@samsaffron @blowmage o_O
1:46 PM - 24 Jun 2013
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.