Closed atermenji closed 10 years ago
expect{ 1 + 2 }.to(equal(3))
auto_closure?
auto_closure
@auto_closure is needed when a function receives the closure to omit the braces. When a function receives a generic @auto_closure is not needed. Read the first answer
@auto_closure