Skip to content

Instantly share code, notes, and snippets.

@blt
Created October 27, 2010 03:57
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 blt/648406 to your computer and use it in GitHub Desktop.
Save blt/648406 to your computer and use it in GitHub Desktop.
# imports via http://www.slideshare.net/pauldix/building-web-service-clients-with-activemodel
require 'rubygems'
require 'active_model'
require 'test/unit'
require File.expand_path('../../../app/models/message', __FILE__)
class MessageTest < ActiveModel::TestCase
include ActiveModel::Lint::Tests
# Replace this with your real tests.
test "the truth" do
assert true
end
def setup
@model = Message.new
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment