Fix Hound nits

This commit is contained in:
Andreas Nedbal 2022-04-17 17:56:25 +02:00 committed by Andreas Nedbal
parent a768d09862
commit a7d2c7be7e
2 changed files with 8 additions and 8 deletions

View File

@ -4,19 +4,19 @@
&__value {
display: block;
text-align: center;
font-size: 4rem;
line-height: 1;
margin-bottom: 0;
text-align: center;
}
&__description {
display: block;
color: var(--primary);
display: block;
font-size: .8rem;
font-weight: bold;
margin-top: 0px;
text-align: center;
text-transform: uppercase;
font-weight: bold;
font-size: .8rem;
margin-top: 0px;
}
}

View File

@ -7,10 +7,10 @@ describe StaticController, type: :controller do
subject { get :about }
before(:each) {
FactoryBot.create(:user, { confirmed_at: Time.now, answered_count: 1 })
FactoryBot.create(:user, { confirmed_at: Time.current, answered_count: 1 })
FactoryBot.create(:user, { permanently_banned: true })
FactoryBot.create(:user, { banned_until: Time.now + 10.days })
FactoryBot.create(:user, { confirmed_at: Time.now })
FactoryBot.create(:user, { banned_until: Time.current + 10.days })
FactoryBot.create(:user, { confirmed_at: Time.current })
}
it "shows the correct user count" do