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
Show source
Register or log in to add new notes.