Skip to content

Instantly share code, notes, and snippets.

@paytonrules
Created December 20, 2018 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paytonrules/e8111c3958758e9a9ba7d2de9145bf79 to your computer and use it in GitHub Desktop.
Save paytonrules/e8111c3958758e9a9ba7d2de9145bf79 to your computer and use it in GitHub Desktop.
Person p = new Person();
Land l = new Land.Builder
               .newInstance()
               .wonder()
               .winter()
               .build();
p.walkIn(p);
expect(@you).to be_watching_out
expect(@you).not_to be_crying
expect(@you).not_to be_pouting

expect(me.why?).to eql("Santa claus is comin', to town.")
let list = new List();

expect(list.valid()).toBe(true);
expect(list.valid()).toBe(true);

expect(list.naughty).toEqual([])
expect(list.nice).toContain(you);
tasks = [lambda: deck_halls,
         lambda: be_jolly,
         lambda: don_gay_apparel,
         lambda: yueltide_carol]

for task in tasks:
  task()
  falalalalalala()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment