Sha256: 08a6020176a2706ab056662d04bd870728052a07b0a021e60f5b9d6c18aa0e39

Contents?: true

Size: 506 Bytes

Versions: 1

Compression:

Stored size: 506 Bytes

Contents

require "spec_helper"

describe Mango do
  describe "version synchronizing" do
    before(:all) do
      @expected = "0.9.0"
    end

    it "is correct for Mango::VERSION" do
      expect(Mango::VERSION).to eq(@expected)
    end

    it "is correct for the README.md file" do
      Dir.chdir(PROJECT_ROOT) do
        readme = File.read("README.md", 50)
        match  = /^Mango release (\d+\.\d+\.\d+\.?\w*)/.match(readme)
        expect(match.captures.first).to eq(@expected)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mango-0.9.0 spec/lib/version_spec.rb