Sha256: 7b0cdbca5b19d0017fd9f0a475054e5a91ded77cebdb4d3154703c969c0e2173

Contents?: true

Size: 335 Bytes

Versions: 19

Compression:

Stored size: 335 Bytes

Contents

Language.class_eval do
  def test_only_fake_response
    {status: Mumuki::Laboratory::Status::Submission::Failed, result: 'noop result'}
  end

  def run_tests!(*)
    test_only_fake_response
  end

  def run_query!(*)
    test_only_fake_response
  end
end

Assignment.class_eval do
  def failed!
    update! status: :failed
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
mumuki-laboratory-5.13.0 spec/evaluation_helper.rb
mumuki-laboratory-5.12.1 spec/evaluation_helper.rb
mumuki-laboratory-5.12.0 spec/evaluation_helper.rb
mumuki-laboratory-5.11.0 spec/evaluation_helper.rb
mumuki-laboratory-5.10.4 spec/evaluation_helper.rb
mumuki-laboratory-5.10.3 spec/evaluation_helper.rb
mumuki-laboratory-5.10.2 spec/evaluation_helper.rb
mumuki-laboratory-5.10.1 spec/evaluation_helper.rb
mumuki-laboratory-5.10.0 spec/evaluation_helper.rb
mumuki-laboratory-5.9.1 spec/evaluation_helper.rb
mumuki-laboratory-5.9.0 spec/evaluation_helper.rb
mumuki-laboratory-5.8.3 spec/evaluation_helper.rb
mumuki-laboratory-5.8.1 spec/evaluation_helper.rb
mumuki-laboratory-5.8.0 spec/evaluation_helper.rb
mumuki-laboratory-5.7.0 spec/evaluation_helper.rb
mumuki-laboratory-5.6.3 spec/evaluation_helper.rb
mumuki-laboratory-5.6.2 spec/evaluation_helper.rb
mumuki-laboratory-5.6.1 spec/evaluation_helper.rb
mumuki-laboratory-5.6.0 spec/evaluation_helper.rb