* Removes all community_emoji-related code * Removes community_emoji-related specs from codebase * Updates communitySection.spec.js to test for member_label * chore: merge conflicts * feat: remove data update script * chore: add file back Co-authored-by: Ridhwana <ridhwana.khan16@gmail.com>
19 lines
522 B
Ruby
19 lines
522 B
Ruby
require "rails_helper"
|
|
|
|
RSpec.describe Settings::Community do
|
|
describe "validating community name" do
|
|
it "does not allow '<' nor '>' character" do
|
|
expect do
|
|
described_class.community_name = "<Hiya"
|
|
end.to raise_error(/may not include the "<" nor ">"/)
|
|
|
|
expect do
|
|
described_class.community_name = "Bya>"
|
|
end.to raise_error(/may not include the "<" nor ">"/)
|
|
|
|
expect do
|
|
described_class.community_name = "Hello Folks"
|
|
end.not_to raise_error
|
|
end
|
|
end
|
|
end
|