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.78 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.77 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.76 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.75 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.74 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.73 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.72 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.71 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.70 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.69 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.68 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.67 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.66 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.65 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.64 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.63 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.62 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.61 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.60 tracks/crystal/generator/spec/exercise_test_case_spec.cr
trackler-2.2.1.59 tracks/crystal/generator/spec/exercise_test_case_spec.cr