fix example test for RSpec 3