tasks/gem/gem_spec.rb in new-0.0.14 vs tasks/gem/gem_spec.rb in new-0.0.15
- old
+ new
@@ -41,11 +41,11 @@
Dir.chdir @tmp_dir
end
it 'should replace the file_attr array of globs with an array of files' do
files = @gem.instance_variable_get(:@gemspec)[:foo_files]
- expect(files.all?{ |f| files.include? f }).to be_true
+ expect(files.all?{ |f| files.include? f }).to eq true
end
end
describe '#render_gemspec_options' do
before do
@@ -104,10 +104,10 @@
after do
@gem.unstub(:project_options)
end
it 'should write a gemspec file' do
- expect(File.exist?('.gemspec')).to be_true
+ expect(File.exist?('.gemspec')).to eq true
end
it 'should be a valid gemspec file' do
gemspec = File.read('.gemspec')
expect(gemspec).to include 'Gem::Specification.new'