spec/lib/maid/platform_spec.rb in maid-0.2.3.alpha.1 vs spec/lib/maid/platform_spec.rb in maid-0.3.0.beta.1

- old
+ new

@@ -23,14 +23,10 @@ end it 'is not identified as OS X' do subject.osx?.should be_false end - - it 'locate is "locate"' do - Platform::Commands.locate.should match(/locate/) - end end context 'when running on Mac OS X' do before do stub_host_os('darwin10.0') @@ -40,13 +36,9 @@ subject.linux?.should be_false end it 'is identified as OS X' do subject.osx?.should be_true - end - - it 'locate is "mdfind"' do - Platform::Commands.locate.should match(/mdfind/) end end end end