merge new beta site features to develop branch
This commit is contained in:
parent
c108bdd058
commit
fef31f097f
|
|
@ -65,9 +65,9 @@ module JamRuby
|
|||
|
||||
UserMailer.new_musicians_match(user, matched_musician_data).deliver_now
|
||||
|
||||
user.update_column(:user_match_email_sent_at, Time.now)
|
||||
email_sending.sent_user_ids.push(user.id)
|
||||
email_sending.save!
|
||||
#user.update_column(:user_match_email_sent_at, Time.now)
|
||||
#email_sending.sent_user_ids.push(user.id)
|
||||
#email_sending.save!
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,8 @@ describe EmailNewMusicianMatch do
|
|||
|
||||
xit "delivers to priority recipients first" do
|
||||
JamRuby::EmailNewMusicianMatch.send_new_musicians
|
||||
ActionMailer::Base.deliveries[1]['to'].to_s.should == "seth@jamkazam.com" #NOTE: the first email is sent to user_match_monitoring_email. The second email should be sent to the first priority user in the priority user list
|
||||
raise ActionMailer::Base.deliveries.map{|d| d['to'].to_s }.inspect #.include?("seth@example.com").should be_truthy
|
||||
#ActionMailer::Base.deliveries[1]['to'].to_s.should == "seth@jamkazam.com" #NOTE: the first email is sent to user_match_monitoring_email. The second email should be sent to the first priority user in the priority user list
|
||||
end
|
||||
|
||||
describe "halfway done job" do
|
||||
|
|
|
|||
Loading…
Reference in New Issue