spec/unit/omnibus_spec.rb in omnibus-4.0.0.rc.2 vs spec/unit/omnibus_spec.rb in omnibus-4.0.0
- old
+ new
@@ -22,10 +22,10 @@
it 'returns nil when the file does not exist' do
stub_env('PATH', nil)
expect(subject.which('not_a_real_executable')).to be nil
end
- it 'retusnt the path when the file exists' do
+ it 'returns the path when the file exists' do
ruby = Bundler.which('ruby')
expect(subject.which(ruby)).to eq(ruby)
end
end