Sha256: 4e20f7fcedfc74302a42e0b55c09317d84392c94665e4dea604e1af680903305

Contents?: true

Size: 342 Bytes

Versions: 1

Compression:

Stored size: 342 Bytes

Contents

require 'ratchets/test/case'

Ratchets::Test.suite "example suite" do

  test_case "example case" do

    test "4 should equal 3" do
      4.assert == 3
    end

    test "4 should not equal 4" do
      4.assert_not == 4
    end

    test "raises syntax error" do
      lambda{raise SyntaxError}.should.raise? SyntaxError
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quarry-0.3.0 demo/test/demo_run.rb