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