mirror of
https://github.com/zhigang1992/rmq.git
synced 2026-04-29 05:05:36 +08:00
15 lines
296 B
Ruby
15 lines
296 B
Ruby
describe 'device' do
|
|
before do
|
|
@rmq = RubyMotionQuery::RMQ
|
|
end
|
|
|
|
it 'should return device from RMQ or an instance of rmq' do
|
|
@rmq.device.should == RubyMotionQuery::Device
|
|
|
|
rmq = RubyMotionQuery::RMQ.new
|
|
rmq.device.should == RubyMotionQuery::Device
|
|
end
|
|
|
|
# TODO finish
|
|
end
|