Added feature test for mailer #2369

This commit is contained in:
Priit Tark 2015-08-25 22:09:15 +03:00
parent 032cff3cf3
commit d11aee7e95
5 changed files with 52 additions and 14 deletions

View file

@ -8,7 +8,7 @@ class CreateEmailTemplates < ActiveRecord::Migration
t.string :cc
t.text :body, null: false
t.text :text_body, null: false
t.timestamps
t.timestamps null: false
end
end

View file

@ -886,8 +886,8 @@ ActiveRecord::Schema.define(version: 20150825125118) do
t.string "cc"
t.text "body", null: false
t.text "text_body", null: false
t.datetime "created_at"
t.datetime "updated_at"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "messages", force: :cascade do |t|

View file

@ -2241,8 +2241,8 @@ CREATE TABLE mail_templates (
cc character varying,
body text NOT NULL,
text_body text NOT NULL,
created_at timestamp without time zone,
updated_at timestamp without time zone
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
);
@ -4926,7 +4926,5 @@ INSERT INTO schema_migrations (version) VALUES ('20150803080914');
INSERT INTO schema_migrations (version) VALUES ('20150810114746');
INSERT INTO schema_migrations (version) VALUES ('20150810114747');
INSERT INTO schema_migrations (version) VALUES ('20150825125118');