DEV: Remove unnecessary rails_helper requiring (#26364)

This commit is contained in:
Jarek Radosz
2024-03-26 11:32:01 +01:00
committed by GitHub
parent 5adfb299ac
commit 4c860995e0
105 changed files with 0 additions and 205 deletions

View File

@@ -1,7 +1,5 @@
# frozen_string_literal: true
require "rails_helper"
RSpec.describe BadgeGrouping, type: :model do
it { is_expected.to validate_length_of(:name).is_at_most(100) }
it { is_expected.to validate_length_of(:description).is_at_most(500) }

View File

@@ -1,7 +1,5 @@
# frozen_string_literal: true
require "rails_helper"
RSpec.describe FormTemplate, type: :model do
it "can't have duplicate names" do
Fabricate(:form_template, name: "Bug Report", template: "- type: input\n id: name")

View File

@@ -1,7 +1,5 @@
# frozen_string_literal: true
require "rails_helper"
RSpec.describe Sitemap do
describe ".regenerate_sitemaps" do
fab!(:topic)