Files
redpotion/spec/ext/object_spec.rb
2015-01-15 19:10:31 -05:00

16 lines
424 B
Ruby

describe 'Object' do
before { @subject = Object.new }
it "should return the RMQ App when Object#app is called" do
@subject.app.should.equal(RubyMotionQuery::App)
end
it "should return the RMQ Device when Object#device is called" do
@subject.device.should.equal(RubyMotionQuery::Device)
end
it "find should be an alias for rmq" do
@subject.find.is_a?(RubyMotionQuery::RMQ).should.be.true
end
end