spec/spec_helper.rb in jp_prefecture-0.0.1 vs spec/spec_helper.rb in jp_prefecture-0.1.0

- old
+ new

@@ -1,13 +1,9 @@ # coding: utf-8 -require 'rubygems' require 'jp_prefecture' - require "active_record" -require 'awesome_print' - RSpec.configure do |config| config.before(:suite) do setup_db end @@ -20,9 +16,10 @@ ActiveRecord::Base.establish_connection :adapter => "sqlite3", :database => ":memory:" ActiveRecord::Schema.define(:version => 1) do create_table :places do |t| t.integer :prefecture_code + t.integer :prefecture_id end end end def teardown_db