Sha256: 746ddd7cd96128a8af877f39df65c73b4b6248821998e9d281511fe440da03e5

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

require 'ratchets/spec/design'

Ratchets::Design.specification "Example Specification" do

  demonstrate "basic assertions" do

    that "4.must == 3 fails" do
      4.must == 3
    end

    that "4.must_not == 4 fails" do
      4.must_not == 4
    end

    that "raise ArgumentError does not raise a SyntaxError" do
      lambda{raise ArgumentError}.must.raise? SyntaxError
    end

  end

end

$no_autocheck = true

Ratchets::Design.outline

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quarry-0.3.0 demo/spec/demo_outline.rb