Sha256: 03c194b5a58906dec28e4cde09ade56129f619cba3c44c048506c8edc3e8974b
Contents?: true
Size: 586 Bytes
Versions: 1
Compression:
Stored size: 586 Bytes
Contents
require File.join( File.dirname(__FILE__), "spec_helper" ) include Updater describe Update do it "should have a version matching the VERSION file" do Updater::VERSION.should == File.read(File.join(ROOT,'VERSION')).strip end it "shuold have its own inspect method" do Update.new(Update.orm.new).inspect.should =~ /Updater::Update/ end end describe "Gemspec: " do it"should match version" do gs = File.open(File.join(ROOT,'updater.gemspec')) do |f| eval f.read end gs.version.to_s.should == File.read(File.join(ROOT,'VERSION')).strip end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
updater-0.9.4 | spec/update_spec.rb |