Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
riking authored and SamSaffron committed Sep 30, 2014
1 parent bff95a6 commit e665bfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'spec_helper'

describe Jobs::LeaderPromotions do
describe Jobs::Tl3Promotions do

subject(:run_job) { described_class.new.execute({}) }

Expand Down
1 change: 1 addition & 0 deletions spec/models/user_profile_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
it 'adds nofollow to links in bio when trust level is decreased' do
created_user.trust_level = TrustLevel[3]
created_user.save
created_user.reload
created_user.change_trust_level!(TrustLevel[2])
expect(created_user.user_profile.bio_excerpt).to match_html("I love <a href='http://discourse.org' rel='nofollow'>http://discourse.org</a>")
expect(created_user.user_profile.bio_processed).to match_html("<p>I love <a href=\"http://discourse.org\" rel=\"nofollow\">http://discourse.org</a></p>")
Expand Down

0 comments on commit e665bfd

Please sign in to comment.