Convert tests to RSpec