Commit ee209104 authored by sfang97's avatar sfang97

Switch spec order

parent b189d9c1
......@@ -4343,16 +4343,16 @@ RSpec.describe User do
enforce_terms
end
it "is not accepted by the user" do
it { is_expected.to be_truthy }
end
it "is accepted by the user" do
accept_terms(user)
it { is_expected.to be_falsy }
end
it "is not accepted by the user" do
it { is_expected.to be_truthy }
end
it "auto accepts the term for project bots" do
expect(project_bot.required_terms_not_accepted?).to be_falsy
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment