Prefabricate trust_level_4
This commit is contained in:
parent
f984c1740f
commit
0578809460
|
@ -1215,8 +1215,10 @@ describe PostsController do
|
||||||
end
|
end
|
||||||
|
|
||||||
context "TL4 users" do
|
context "TL4 users" do
|
||||||
|
fab!(:trust_level_4) { Fabricate(:trust_level_4) }
|
||||||
|
|
||||||
before do
|
before do
|
||||||
sign_in(Fabricate(:trust_level_4))
|
sign_in(trust_level_4)
|
||||||
end
|
end
|
||||||
|
|
||||||
include_examples "it works"
|
include_examples "it works"
|
||||||
|
|
Loading…
Reference in New Issue