Spec fix - move #let block into #before
Ruby 2.0 support