Um, yeah, that's a tough one. This really ins't testing it, so I'm not sure how useful it is. Only way to test it would be to mock the lower level call, so that you aren't modifying the rmq.device.ipad? method. I'm not sure how important that is.

Hmm, however you could do a simple test by simply touching the method, that's better than nothing. So it won't be both an ipad and iphone at the same time, an easy test:

@rmq.device.ipad?.should != @rmq.device.iphone?