Sha256: c3afa5c90631db4f2fda1efaa212ebfee819138ae15b2b6d05750713945e065e
Contents?: true
Size: 662 Bytes
Versions: 15
Compression:
Stored size: 662 Bytes
Contents
require 'spec_helper' require 'find' release_timestamp_file = 'build/.last-release' if test('f', release_timestamp_file) describe 'updates' do before :each do @release_time = File.stat(release_timestamp_file).mtime end context 'version file' do it 'has been updated since the last release' do version_time = File.stat('lib/reek.rb').mtime expect(version_time).to be > @release_time end end context 'history file' do it 'has been updated since the last release' do history_time = File.stat('History.txt').mtime expect(history_time).to be > @release_time end end end end
Version data entries
15 entries across 15 versions & 1 rubygems