method

test

test(name, &block)
public

Helper to define a test method using a String. Under the hood, it replaces spaces with underscores and defines the test method.

test "verify something" do
  ...
end