Sha256: 230d242e5eef14cea57dff8a7b7bf490d725c15f28a6df4e94ba32a60400d837

Contents?: true

Size: 449 Bytes

Versions: 11

Compression:

Stored size: 449 Bytes

Contents

# -*- coding: utf-8 -*-
require 'spec_helper'

describe Tengine::Core do
  describe :version do
    it "3つの数値をドットで区切った文字列" do
      Tengine::Core.version.should =~ /^\d+\.\d+\.\d+/
    end
    it "プロジェクトのルートにあるVERSIONファイルの内容と同じです" do
      Tengine::Core.version.should == File.read(File.expand_path("../../VERSION", File.dirname(__FILE__))).strip
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
tengine_core-0.5.39 spec/tengine/core_spec.rb
tengine_core-0.5.38 spec/tengine/core_spec.rb
tengine_core-0.5.37 spec/tengine/core_spec.rb
tengine_core-0.5.36 spec/tengine/core_spec.rb
tengine_core-0.5.35 spec/tengine/core_spec.rb
tengine_core-0.5.34 spec/tengine/core_spec.rb
tengine_core-0.5.33 spec/tengine/core_spec.rb
tengine_core-0.5.32 spec/tengine/core_spec.rb
tengine_core-0.5.31 spec/tengine/core_spec.rb
tengine_core-0.5.30 spec/tengine/core_spec.rb
tengine_core-0.5.28 spec/tengine/core_spec.rb