Sha256: 9912118c783e736267af3faee236dc6421d3b5885461f86c0b914144ff647b70
Contents?: true
Size: 1.82 KB
Versions: 5
Compression:
Stored size: 1.82 KB
Contents
# # Copyright (c) 2009-2012 RightScale Inc # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publish, # distribute, sublicense, and/or sell copies of the Software, and to # permit persons to whom the Software is furnished to do so, subject to # the following conditions: # # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper')) require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'lib', 'right_amqp')) describe AMQP::Protocol::Class do context ".name" do it "returns a value" do AMQP::Protocol::Class.name.should == "AMQP::Protocol::Class" end end context ".id" do it "returns a value" do AMQP::Protocol::Class.id.should == nil end end end describe AMQP::Protocol::Class::Method do context ".name" do it "returns a value" do AMQP::Protocol::Class::Method.name.should == "AMQP::Protocol::Class::Method" end end context ".id" do it "returns a value" do AMQP::Protocol::Class::Method.id.should == nil end end end
Version data entries
5 entries across 5 versions & 1 rubygems