test/test_helper.rb in reform-0.1.2 vs test/test_helper.rb in reform-0.2.0
- old
+ new
@@ -1,2 +1,15 @@
require 'reform'
-require 'minitest/autorun'
+require 'minitest/autorun'
+
+class ReformSpec < MiniTest::Spec
+ let (:duran) { OpenStruct.new(:name => "Duran Duran") }
+ let (:rio) { OpenStruct.new(:title => "Rio") }
+end
+
+require 'active_record'
+class Artist < ActiveRecord::Base
+end
+ActiveRecord::Base.establish_connection(
+ :adapter => "sqlite3",
+ :database => "#{Dir.pwd}/database.sqlite3"
+)
\ No newline at end of file