mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Remove unnecessary rails_helper requiring (#26364)
This commit is contained in:
@@ -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) }
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "rails_helper"
|
||||
|
||||
RSpec.describe Sitemap do
|
||||
describe ".regenerate_sitemaps" do
|
||||
fab!(:topic)
|
||||
|
||||
Reference in New Issue
Block a user