Show More
Commit Description:
[web] normalize full_score to 100, more hints on how to submit questions, hint on the disabling to test interface during the last 30 minutes...
Commit Description:
[web] normalize full_score to 100, more hints on how to submit questions, hint on the disabling to test interface during the last 30 minutes git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@253 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