diff --git a/spec/features/admin/admin_spec.rb b/spec/features/admin/admin_spec.rb index 94c7a8dca..cbd83bf53 100644 --- a/spec/features/admin/admin_spec.rb +++ b/spec/features/admin/admin_spec.rb @@ -1,9 +1,11 @@ require 'rails_helper' describe "forums", js: true do - include_context 'signed in admin' - it "navigating to forum admin with js" do - visit admin_path - Percy.snapshot(page, name: 'Admin page') + context 'signed in admin' do + include_context 'signed in admin' + it "navigating to forum admin with js" do + visit admin_path + Percy.snapshot(page, name: 'Admin page') + end end end