Sha256: b21822cb766ba8d86b646f8e62afacaf55c2922b1af73216327cd5d7d7f541cf
Contents?: true
Size: 454 Bytes
Versions: 11
Compression:
Stored size: 454 Bytes
Contents
$:.unshift(File.dirname(__FILE__)) require 'spec_helper' require 'qubitro-mqtt' describe MQTT do describe "version number" do it "should be defined as a constant" do expect(defined?(MQTT::VERSION)).to eq('constant') end it "should be a string" do expect(MQTT::VERSION).to be_a(String) end it "should be in the format x.y.z" do expect(MQTT::VERSION).to match(/^\d{1,2}\.\d{1,2}\.\d{1,2}$/) end end end
Version data entries
11 entries across 11 versions & 1 rubygems