spec/manns_spec.rb in hoe-manns-1.5.0 vs spec/manns_spec.rb in hoe-manns-1.5.1
- old
+ new
@@ -20,12 +20,10 @@
end
describe 'remove_pre_gemspec' do
it 'removes the old gemspec' do
Hoe::Manns.remove_pre_gemspec_method
- FileUtils.cd('..') do
- FileUtils.touch('hoe-manns.gemspec')
- end
+ FileUtils.touch('hoe-manns.gemspec')
gemspec = Dir.glob('*.gemspec').empty? == true
expect(gemspec) == false
end
end