28 Dec '15, 1am

Let's Not (2012)

describe FactoryGirl::EvaluatorClassDefiner do let(:simple_attribute) { stub("simple attribute", name: :simple, to_proc: -> { 1 }) } let(:relative_attribute) { stub("relative attribute", name: :relative, to_proc: -> { simple + 1 }) } let(:attribute_that_raises_a_second_time) { stub( "attribute that would raise without a cache", name: :raises_without_proper_cache, to_proc: -> { raise "failed" if @run; @run = true; nil } ) } let(:attributes) { [ simple_attribute, relative_attribute, attribute_that_raises_a_second_time ] } let(:class_definer) { FactoryGirl::EvaluatorClassDefiner.new( attributes, FactoryGirl::Evaluator ) } let(:evaluator) { class_definer.evaluator_class.new( stub("build strategy", add_observer: true) ) } it "adds each attribute to the evaluator" do evaluator.simple.should eq 1 end it "evaluates the block in the context of the evaluator" do evaluator.relative.s...

Full article: https://robots.thoughtbot.com/lets-not

Tweets

Common Room to Let- 3 mins walk from Khatib Mrt

rentinsingapore.com 28 Dec '15, 5am

Chung Cheng High School (Yishun) Naval Base Primary School Tags/Keywords: Available For Rent Common Room Yishun Peiying Pr...

#truestory: "I let my husband have an #affair in our home."

#truestory: "I let my husband have an #affair i...

herworldplus.com 26 Dec '15, 5am

"I got married at a young age and had my first child at 21, two years after tying the knot. A baby usually marks a new cha...

Let Alexa Control Your Life; Guide to Voice-Ena...

hackaday.com 26 Dec '15, 3pm

Let’s face it, automation doesn’t feel quite as futuristic unless you can just say what you want out loud and have the mac...

Let’s learn to embrace diversity https://t.co/gcvSYpffsN

Let’s learn to embrace diversity https://t.co/g...

dinmerican.wordpress.com 26 Dec '15, 1am

COMMENT : Rash, I wish you a happy New Year and all the best for 2016. I urge you to continue to write “neutral” articles ...

Periscope Named Apple App of the Year; Breaking...

fragerfactor.blogspot.com 27 Dec '15, 3pm

James Lovelock: 'enjoy life while you can: in 20 years global warming will hit the fan’; Meet the 17-Year-Old Running a Pr...

The Kardashian Kristmas Kard is a let down

seriouslyomg.com 24 Dec '15, 2am

Fifty Shades of Black looks worse than Fifty Shades of Grey BTWF roles: Denzel Washington in Carbon Copy The Kardashian Kr...

Q&A: Let @AlecBaldwin tell you why he is an opt...

grist.org 26 Dec '15, 11am

It wasn’t exactly the Oscars, but there was a star-studded award ceremony Monday night in Paris: the United Nations Develo...

New LET Alumni Association to Benefit Former and Current Members

New LET Alumni Association to Benefit Former an...

ladieseuropeantour.com 21 Dec '15, 9am

As part of the ‘LET’s Keep in Touch ’ element of the Development Department’s strategy, a new LET Alumni Association has b...

issue

newsweek.com 31 Dec '15, 5pm

Let Nik Aziz and Karpal be example for all Msia...

blog.limkitsiang.com 24 Dec '15, 9am

2015 Christmas Message in Kuala Lumpur on Thursday, 24th December 2015 Christmas Day tomorrow in 2015 is especially signif...

Let Nik Aziz and Karpal be the example for all ...

blog.limkitsiang.com 24 Dec '15, 9am

2015 Christmas Message in Kuala Lumpur on Thursday, 24th December 2015 Christmas Day tomorrow in 2015 is especially signif...

Maribel wants to join the LET Jet Set

ladieseuropeantour.com 19 Dec '15, 5pm

Golf and flying are a perfect combination, according to Colombian golfer Maribel Lopez Porras. Travelling internationally ...

Let’s not have a parliamentary charade where BN...

blog.limkitsiang.com 22 Dec '15, 1am

Three cheers for the Dewan Negara. For the first time in 58-year Malaysian history, the appointed UMNO/BN MPs in Dewan Neg...