Sha256: 87a6a50609dce6f2d4888350c613757193f1c919228bbf4091a6500b54f31e91
Contents?: true
Size: 1.23 KB
Versions: 8
Compression:
Stored size: 1.23 KB
Contents
require 'rspec' require 'digest' require 'lib/hoe/manns' require 'test/spec_helper' describe 'Hoe::Manns' do describe 'update_gemfile_lock_method' do before do @checksumgemlock = Digest::SHA2.hexdigest(File.read('Gemfile.lock')) end it 'creates a new Gemfile.lock' do Hoe::Manns.update_gemfile_lock_method @checksumgemlocknew = Digest::SHA2.hexdigest(File.read('Gemfile.lock')) checksum = false checksum = true if @checksumgemlock == @checksumgemlocknew expect(checksum) == true end end describe 'remove_pre_gemspec' do it 'removes the old gemspec' do Hoe::Manns.remove_pre_gemspec_method gemspec = false gemspec = true if Dir.glob('*.gemspec').empty? == true expect(gemspec) == false end end describe 'update_workspace' do it 'updates the workspace' do Hoe::Manns.update_workspace_method end end describe 'update_index' do it 'updates the .index' do Hoe::Manns.update_index_method end end # describe 'copy_manuals' do # it 'copies the manuals' do # Hoe::Manns.copy_manuals_method # end # end describe 'clean_pkg' do it 'cleans the pkg' do Hoe::Manns.clean_pkg_method end end end
Version data entries
8 entries across 8 versions & 1 rubygems