Skip to content

Instantly share code, notes, and snippets.

View janxious's full-sized avatar
🌰
.

Joel "The Gregarious" Meador janxious

🌰
.
View GitHub Profile
@janxious
janxious / activesupport.rb
Created January 31, 2010 22:07 — forked from expectedbehavior/activesupport.rb
Test::Unit Cucumber-style Tagging
module ActiveSupport
module Testing
module Declarative
alias :tu_test_original :test
# test "verify something", [:slow, :wip] do
# ...
# end
def test(name, tags = nil, &block)
types {
text/html html htm shtml;
text/css css;
text/xml xml;
image/gif gif;
image/jpeg jpeg jpg;
application/x-javascript js;
application/atom+xml atom;
application/rss+xml rss;
<%# Total number of tickets for this customer by time frame -%>
<table>
<thead>
<tr>
<th>Timeframe</th>
<th>Opened</th>
<th>Closed</th>
</tr>
</thead>
<tbody>