Updated rspec test to stub ui.info