search for: spec_suit

Displaying 1 result from an estimated 1 matches for "spec_suit".

Did you mean: spec_suite
2007 Jan 06
4
spec command and windows
...pec in a platform independent way is to call: success = true dir = File.dirname(__FILE__) spec_cmd = (RUBY_PLATFORM =~ /[^r]win/) ? ''C:\\ruby\\bin\\spec.cmd'' : ''spec'' success &&= system("#{spec_cmd} --format specdoc --diff unified #{dir}/project_dir/spec_suite.rb") # ... exit success Lame! Does somebody out there have a better solution? Could rspec be run from ruby instead? Thank you, Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070105/6f6a5e28/attac...