Sha256: 78380b11bc4aade9e2a9ab34c5333140ee94f3daf39aa675c82f8bc6cad65964

Contents?: true

Size: 662 Bytes

Versions: 6

Compression:

Stored size: 662 Bytes

Contents

require './test/test_helper'
require 'exercism/submission'

class SubmissionTest < Minitest::Test
  def test_knows_ruby_code
    refute Exercism::Submission.test?('queens.rb')
  end

  def test_identifies_ruby_tests
    assert Exercism::Submission.test?('queens_test.rb')
  end

  def test_knows_elixir_code
    refute Exercism::Submission.test?('queens.exs')
  end

  def test_identifies_elixir_tests
    assert Exercism::Submission.test?('queens_test.exs')
  end

  def test_knows_javascript_code
    refute Exercism::Submission.test?('queens.js')
  end

  def test_identifies_javascript_tests
    assert Exercism::Submission.test?('queens.spec.js')
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
exercism-0.0.24 test/exercism/submission_test.rb
exercism-0.0.23 test/exercism/submission_test.rb
exercism-0.0.22 test/exercism/submission_test.rb
exercism-0.0.21 test/exercism/submission_test.rb
exercism-0.0.20 test/exercism/submission_test.rb
exercism-0.0.19 test/exercism/submission_test.rb