Sha256: 1a3cf0ff8c0815b91f864e43cf33bf9806ab50df367b6565356d728aabe67640

Contents?: true

Size: 1.17 KB

Versions: 13

Compression:

Stored size: 1.17 KB

Contents

# -*- coding: UTF-8 -*-
#
# Copyright 2014 PagerDuty, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

describe LitaGithub do
  describe '::VERSION' do
    subject { LitaGithub::VERSION }
    it { should be_an_instance_of String }
    it { should match(/\d+\.\d+\.\d+(?:\-[a-zA-Z0-9_\.\-])?/) }
  end

  describe '::MAJ' do
    subject { LitaGithub::MAJ }
    it { should be_an_instance_of Fixnum }
    it { should be >= 0 }
  end

  describe '::MIN' do
    subject { LitaGithub::MIN }
    it { should be_an_instance_of Fixnum }
    it { should be >= 0 }
  end

  describe '::REV' do
    subject { LitaGithub::REV }
    it { should be_an_instance_of Fixnum }
    it { should be >= 0 }
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
lita-github-0.0.13 spec/unit/lita-github/version_spec.rb
lita-github-0.0.12 spec/unit/lita-github/version_spec.rb
lita-github-0.0.11 spec/unit/lita-github/version_spec.rb
lita-github-0.0.10 spec/unit/lita-github/version_spec.rb
lita-github-0.0.9 spec/unit/lita-github/version_spec.rb
lita-github-0.0.8 spec/unit/lita-github/version_spec.rb
lita-github-0.0.7 spec/unit/lita-github/version_spec.rb
lita-github-0.0.6 spec/unit/lita-github/version_spec.rb
lita-github-0.0.5 spec/unit/lita-github/version_spec.rb
lita-github-0.0.4 spec/unit/lita-github/version_spec.rb
lita-github-0.0.3 spec/unit/lita-github/version_spec.rb
lita-github-0.0.2 spec/unit/lita-github/version_spec.rb
lita-github-0.0.1 spec/unit/lita-github/version_spec.rb