spec/spec_helper.rb in traco-0.2.1 vs spec/spec_helper.rb in traco-0.2.3

- old
+ new

@@ -16,14 +16,14 @@ # https://github.com/iain/translatable_columns/ require "active_record" require "app/post.rb" -ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:" +ActiveRecord::Base.establish_connection :adapter => "sqlite3", :database => ":memory:" silence_stream(STDOUT) do - ActiveRecord::Schema.define(version: 0) do - create_table :posts, force: true do |t| + ActiveRecord::Schema.define(:version => 0) do + create_table :posts, :force => true do |t| t.string :title_sv, :title_en, :title_fi t.string :body_sv, :body_en, :body_fi end end end