remove useless 'puts'

This commit is contained in:
Régis Hanol 2014-11-26 16:40:03 +01:00
parent 37a9164fa0
commit d7ef4f1edd
2 changed files with 0 additions and 2 deletions

View File

@ -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

View File

@ -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>")