Changed def to let to be more in line with RSpec