Skip to content

Commit

Permalink
add some basic stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgolick committed Dec 9, 2008
0 parents commit ba7d9fc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/is_taggable.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
module IsTaggable
end
19 changes: 19 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
require File.dirname(__FILE__)+'/../lib/is_taggable'
require 'expectations'
require 'logger'

ActiveRecord::Base.configurations = {'sqlite3' => {:adapter => 'sqlite3', :database => ':memory:'}}
ActiveRecord::Base.establish_connection('sqlite3')

ActiveRecord::Base.logger = Logger.new(STDERR)
ActiveRecord::Base.logger.level = Logger::WARN

ActiveRecord::Schema.define(:version => 0) do
create_table :posts do |t|
t.string :title, :default => ''
end
end

class Post < ActiveRecord::Base
end

0 comments on commit ba7d9fc

Please sign in to comment.