Fix Hound nits
This commit is contained in:
parent
a768d09862
commit
a7d2c7be7e
|
@ -4,19 +4,19 @@
|
||||||
|
|
||||||
&__value {
|
&__value {
|
||||||
display: block;
|
display: block;
|
||||||
text-align: center;
|
|
||||||
font-size: 4rem;
|
font-size: 4rem;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__description {
|
&__description {
|
||||||
display: block;
|
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
|
display: block;
|
||||||
|
font-size: .8rem;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-top: 0px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: bold;
|
|
||||||
font-size: .8rem;
|
|
||||||
margin-top: 0px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -7,10 +7,10 @@ describe StaticController, type: :controller do
|
||||||
subject { get :about }
|
subject { get :about }
|
||||||
|
|
||||||
before(:each) {
|
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, { permanently_banned: true })
|
||||||
FactoryBot.create(:user, { banned_until: Time.now + 10.days })
|
FactoryBot.create(:user, { banned_until: Time.current + 10.days })
|
||||||
FactoryBot.create(:user, { confirmed_at: Time.now })
|
FactoryBot.create(:user, { confirmed_at: Time.current })
|
||||||
}
|
}
|
||||||
|
|
||||||
it "shows the correct user count" do
|
it "shows the correct user count" do
|
||||||
|
|
Loading…
Reference in New Issue