spec/girdle_spec.rb in girdle-0.0.2 vs spec/girdle_spec.rb in girdle-0.0.3

- old
+ new

@@ -33,10 +33,10 @@ describe '::run_batch' do it 'must pipe xml to xgrid using - argument' do Girdle.expects(:`). - with('xml | /usr/bin/xgrid -hostname localhost -auth None -format xml -failover YES -autocopy YES -'). + with('echo "xml" | /usr/bin/xgrid -hostname localhost -auth None -format xml -failover YES -autocopy YES -'). returns(plist) Girdle.run_batch('xml') end end end