Sha256: 0973aa71e3ebee710951cfc0ae1cd24cf01a09d5eef8e3783209f4f953ecdfec

Contents?: true

Size: 323 Bytes

Versions: 20

Compression:

Stored size: 323 Bytes

Contents

Language.class_eval do
  def test_only_fake_response
    {status: Mumuki::Laboratory::Status::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

20 entries across 20 versions & 1 rubygems

Version Path
mumuki-laboratory-5.5.0 spec/evaluation_helper.rb
mumuki-laboratory-5.4.0 spec/evaluation_helper.rb
mumuki-laboratory-5.3.0 spec/evaluation_helper.rb
mumuki-laboratory-5.2.1 spec/evaluation_helper.rb
mumuki-laboratory-5.2.0 spec/evaluation_helper.rb
mumuki-laboratory-5.1.1 spec/evaluation_helper.rb
mumuki-laboratory-5.1.0 spec/evaluation_helper.rb
mumuki-laboratory-5.0.12 spec/evaluation_helper.rb
mumuki-laboratory-5.0.11 spec/evaluation_helper.rb
mumuki-laboratory-5.0.10 spec/evaluation_helper.rb
mumuki-laboratory-5.0.9 spec/evaluation_helper.rb
mumuki-laboratory-5.0.8 spec/evaluation_helper.rb
mumuki-laboratory-5.0.7 spec/evaluation_helper.rb
mumuki-laboratory-5.0.6 spec/evaluation_helper.rb
mumuki-laboratory-5.0.5 spec/evaluation_helper.rb
mumuki-laboratory-5.0.4 spec/evaluation_helper.rb
mumuki-laboratory-5.0.3 spec/evaluation_helper.rb
mumuki-laboratory-5.0.2 spec/evaluation_helper.rb
mumuki-laboratory-5.0.1 spec/evaluation_helper.rb
mumuki-laboratory-5.0.0 spec/evaluation_helper.rb