describe Celsius do it "has a class called Adapter" do expect(Celsius.const_defined? :Adapter).to be true expect(Celsius::Adapter.class.is_a? Class) end end