Sha256: 345d94845e16f04fc7c41e1bb708475a9b52fcfc2ee1eca93fa00f8927bad283
Contents?: true
Size: 674 Bytes
Versions: 11
Compression:
Stored size: 674 Bytes
Contents
require_relative '../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
11 entries across 11 versions & 1 rubygems