spec/spec_helper_models.rb in traco-3.2.1 vs spec/spec_helper_models.rb in traco-4.0.0
- old
+ new
@@ -17,15 +17,13 @@
require "active_record"
require "app/post.rb"
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|
- t.string :title_sv, :title_en, :title_pt_br
- t.string :body_sv, :body_en, :body_pt_br
- end
+ActiveRecord::Schema.define(version: 0) do
+ create_table :posts, force: true do |t|
+ t.string :title_sv, :title_en, :title_pt_br
+ t.string :body_sv, :body_en, :body_pt_br
end
end
I18n.load_path << "spec/app/sv.yml"