Updating shared spec to RSpec 3 syntax