Skip to content

Instantly share code, notes, and snippets.

View mattsoutherden's full-sized avatar

Matt Southerden mattsoutherden

View GitHub Profile
<emotionml xmlns="http://www.w3.org/2009/10/emotionml"
xmlns:classifiers="http://www.example.com/meta/classify/"
xmlns:origin="http://www.example.com/meta/local/"
category-set="http://www.example.com/emotion/category/everyday-emotions.xml">
<info>
<classifiers:classifier classifiers:name="GMM"/>
</info>
<emotion>
<intensity value="1"/>
beans = [:arabica, :robusta]
beans.reject { |type| type == :robusta }
beans.flatten!
beans.compact!
espresso = beans.inject(:steam) {}
frapuccino = ([[:milk]] << [espresso]).freeze
frapuccino.take_while { |cup| !cup.empty? }
Name: Performance#description should replace an obscene description with an innocent one
Type: Failure Message:
expected: "Me performing care bear on my teddy",
got: "Me performing cunillingus on my teddy"
Name: Performance#title should replace an obscene title with an innocent one
Type: Failure Message:
expected: "care bear",
got: "fingerfuckers" (using ==) ./spec/wired/app/models/performance_spec.rb:763: