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

Version Path
qubitro-mqtt-0.0.11 spec/mqtt_version_spec.rb
qubitro-mqtt-0.0.10 spec/mqtt_version_spec.rb
qubitro-mqtt-0.0.9 spec/mqtt_version_spec.rb
qubitro-mqtt-0.0.8 spec/mqtt_version_spec.rb
qubitro-mqtt-0.0.7 spec/mqtt_version_spec.rb
qubitro-mqtt-0.0.6 spec/mqtt_version_spec.rb
qubitro-mqtt-0.0.5 spec/mqtt_version_spec.rb
qubitro-mqtt-0.0.4 spec/mqtt_version_spec.rb
qubitro-mqtt-0.0.3 spec/mqtt_version_spec.rb
qubitro-mqtt-0.0.2 spec/mqtt_version_spec.rb
qubitro-mqtt-0.0.1 spec/mqtt_version_spec.rb