Sha256: 71a68a2e265f6cfab56b14a23c6a9992377cb6c7066ef79d5b898cdc57286958
Contents?: true
Size: 521 Bytes
Versions: 1
Compression:
Stored size: 521 Bytes
Contents
# encoding: UTF-8 require "spec_helper" describe Mango do describe "version synchronizing" do before(:each) do @expected = "0.5.4" end it "is correct for Mango::VERSION" do Mango::VERSION.should == @expected end it "is correct for the README.mdown file" do Dir.chdir(PROJECT_ROOT) do readme = File.read("README.mdown", 50) match = /^Mango release (\d+\.\d+\.\d+\.?\w*)/.match(readme) match.captures.first.should == @expected end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mango-0.5.4 | spec/lib/version_spec.rb |