Skip to content

Instantly share code, notes, and snippets.

@cypher
Created December 21, 2009 16:40
Show Gist options
  • Save cypher/261051 to your computer and use it in GitHub Desktop.
Save cypher/261051 to your computer and use it in GitHub Desktop.
require 'test/unit'
require 'shoulda'
class HelpersTest < Test::Unit::TestCase
# ServerHelpers is the module that has all the sinatra helpers
include ServerHelpers
context "a helper" do
should "return a number" do
assert_equal 42, my_helper_method
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment