remove useless 'puts'
This commit is contained in:
parent
37a9164fa0
commit
d7ef4f1edd
|
@ -48,7 +48,6 @@ module Jobs
|
|||
end
|
||||
|
||||
def log(*args)
|
||||
puts args
|
||||
args.each do |arg|
|
||||
Rails.logger.info "#{Time.now.to_formatted_s(:db)}: [#{self.class.name.upcase}] #{arg}"
|
||||
end
|
||||
|
|
|
@ -105,7 +105,6 @@ describe UserProfile do
|
|||
|
||||
it 'removes the link if the user is suspended' do
|
||||
user.suspended_till = 1.month.from_now
|
||||
puts user.suspended?.inspect
|
||||
user_profile.send(:cook)
|
||||
expect(user_profile.bio_excerpt).to match_html("I love http://discourse.org")
|
||||
expect(user_profile.bio_processed).to eq("<p>I love http://discourse.org</p>")
|
||||
|
|
Loading…
Reference in New Issue