Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 21 lines (19 sloc) 0.572 kB
eff53f6 @iain Initial commit
authored
1 begin
2 require File.dirname(__FILE__) + '/../../../../spec/spec_helper'
3 rescue LoadError
4 puts "You need to install rspec in your base app"
5 exit
6 end
7
7e0025f @iain Add specs
authored
8 # plugin_spec_dir = File.dirname(__FILE__)
9 # ActiveRecord::Base.logger = Logger.new(plugin_spec_dir + "/debug.log")
10 #
11 # databases = YAML::load(IO.read(plugin_spec_dir + "/db/database.yml"))
12 # ActiveRecord::Base.establish_connection(databases[ENV["DB"] || "sqlite3"])
13 # load(File.join(plugin_spec_dir, "db", "schema.rb"))
14 #
15 # class Category < ActiveRecord::Base
16 # end
17 #
18 # class Product < ActiveRecord::Base
19 #
20 # end
Something went wrong with that request. Please try again.