Show More
Commit Description:
adjusted partial counter...
Commit Description:
adjusted partial counter git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@279 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
vendor/plugins/rspec_on_rails/spec/rails/spec_spec.rb | 10 lines | 325 B | text/x-ruby | RubyLexer |
require File.dirname(__FILE__) + '/../spec_helper'
describe "script/spec file" do
it "should run a spec" do
dir = File.dirname(__FILE__)
output = `#{RAILS_ROOT}/script/spec #{dir}/sample_spec.rb`
unless $?.exitstatus == 0
flunk "command 'script/spec spec/sample_spec' failed\n#{output}"
end
end
end