Skip to content

Updated #let! spec to assert before block gets called

gitlab-qa-bot requested to merge github/fork/zubin/let_bang_spec into master

Created by: zubin

The existing specs still pass when the before block code is commented out like so:

def let!(name, &block)
  let(name, &block)
  # before { __send__(name) }
end

Noticed this when writing #subject! method.

Apologies - looks like my earlier commits are listed below. The relevant one is 65c65049. I'll leave master alone and create separate branches in future. :)

Merge request reports