Sha256: e7f3197454f204909cd52e764c9e74fc59d50554c0bff94ea5c53eeed529eb03

Contents?: true

Size: 542 Bytes

Versions: 188

Compression:

Stored size: 542 Bytes

Contents

require "spec"
require "json"
require "../src/exercise_test_case"

class DummyTestCase < ExerciseTestCase
  def workload; end

  def test_name; end
end

describe "DummyTestCase" do
  describe "#pending" do
    it "outputs 'it' if the given integer is 0" do
      dummy_test_case = DummyTestCase.new
      dummy_test_case.pending?(0).should eq("it")
    end

    it "outputs 'pending' if the given integer is greater than 0" do
      dummy_test_case = DummyTestCase.new
      dummy_test_case.pending?(1).should eq("pending")
    end
  end
end

Version data entries

188 entries across 188 versions & 1 rubygems

Version Path
trackler-2.2.1.58 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.57 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.56 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.55 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.54 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.53 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.52 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.51 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.50 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.49 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.48 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.47 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.46 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.45 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.44 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.43 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.42 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.41 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.40 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.39 tracks/crystal/generator/spec/exercise_test_case_spec.cr