Change test to not stub method
Don't use deprecated RSpec pending block syntax