mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-25 07:54:11 -05:00
remove useless 'puts'
This commit is contained in:
parent
37a9164fa0
commit
d7ef4f1edd
2 changed files with 0 additions and 2 deletions
|
@ -48,7 +48,6 @@ module Jobs
|
||||||
end
|
end
|
||||||
|
|
||||||
def log(*args)
|
def log(*args)
|
||||||
puts args
|
|
||||||
args.each do |arg|
|
args.each do |arg|
|
||||||
Rails.logger.info "#{Time.now.to_formatted_s(:db)}: [#{self.class.name.upcase}] #{arg}"
|
Rails.logger.info "#{Time.now.to_formatted_s(:db)}: [#{self.class.name.upcase}] #{arg}"
|
||||||
end
|
end
|
||||||
|
|
|
@ -105,7 +105,6 @@ describe UserProfile do
|
||||||
|
|
||||||
it 'removes the link if the user is suspended' do
|
it 'removes the link if the user is suspended' do
|
||||||
user.suspended_till = 1.month.from_now
|
user.suspended_till = 1.month.from_now
|
||||||
puts user.suspended?.inspect
|
|
||||||
user_profile.send(:cook)
|
user_profile.send(:cook)
|
||||||
expect(user_profile.bio_excerpt).to match_html("I love http://discourse.org")
|
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>")
|
expect(user_profile.bio_processed).to eq("<p>I love http://discourse.org</p>")
|
||||||
|
|
Loading…
Reference in a new issue