Skip to content

Commit

Permalink
add ReserveMailer
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeta committed May 6, 2019
1 parent ef6a318 commit a56198d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
Empty file added app/mailers/.keep
Empty file.
2 changes: 2 additions & 0 deletions app/mailers/reserve_mailer.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class ReserveMailer < ApplicationMailer
end
2 changes: 1 addition & 1 deletion db/migrate/20081030023412_create_checkout_types.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def change
t.string :name, index: {unique: true}, null: false
t.jsonb :display_name_translations, default: {}, null: false
t.text :note
t.integer :position
t.integer :position, null: false, default: 1

t.timestamps
end
Expand Down
4 changes: 4 additions & 0 deletions spec/mailers/previews/reserve_preview.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Preview all emails at http://localhost:3000/rails/mailers/reserve
class ReservePreview < ActionMailer::Preview

end
5 changes: 5 additions & 0 deletions spec/mailers/reserve_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require "rails_helper"

RSpec.describe ReserveMailer, type: :mailer do
pending "add some examples to (or delete) #{__FILE__}"
end

0 comments on commit a56198d

Please sign in to comment.