Sha256: 482ddaa3d85883b970dc14aa5d91804fa1bad73b982c2aae4e199ed41e4613a9

Contents?: true

Size: 939 Bytes

Versions: 14

Compression:

Stored size: 939 Bytes

Contents

describe "ActivityNotification.gem_version" do
  it "returns gem version" do
    expect(ActivityNotification.gem_version.to_s).to eq(ActivityNotification::VERSION)
  end
end

describe ActivityNotification::GEM_VERSION do
  describe "MAJOR" do
    it "returns gem major version" do
      expect(ActivityNotification::GEM_VERSION::MAJOR).to eq(ActivityNotification::VERSION.split(".")[0])
    end
  end

  describe "MINOR" do
    it "returns gem minor version" do
      expect(ActivityNotification::GEM_VERSION::MINOR).to eq(ActivityNotification::VERSION.split(".")[1])
    end
  end

  describe "TINY" do
    it "returns gem tiny version" do
      expect(ActivityNotification::GEM_VERSION::TINY).to eq(ActivityNotification::VERSION.split(".")[2])
    end
  end

  describe "PRE" do
    it "returns gem pre version" do
      expect(ActivityNotification::GEM_VERSION::PRE).to eq(ActivityNotification::VERSION.split(".")[3])
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
activity_notification-2.3.3 spec/version_spec.rb
activity_notification-2.3.2 spec/version_spec.rb
activity_notification-2.3.1 spec/version_spec.rb
activity_notification-2.3.0 spec/version_spec.rb
activity_notification-2.2.4 spec/version_spec.rb
activity_notification-2.2.3 spec/version_spec.rb
activity_notification-2.2.2 spec/version_spec.rb
activity_notification-2.2.1 spec/version_spec.rb
activity_notification-2.2.0 spec/version_spec.rb
activity_notification-2.1.4 spec/version_spec.rb
activity_notification-2.1.3 spec/version_spec.rb
activity_notification-2.1.2 spec/version_spec.rb
activity_notification-2.1.1 spec/version_spec.rb
activity_notification-2.1.0 spec/version_spec.rb