mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 19:48:08 +00:00
chore: Enable the new Rubocop rules (#7122)
fixes: https://linear.app/chatwoot/issue/CW-1574/renable-the-disabled-rubocop-rules
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe CacheKeysHelper, type: :helper do
|
||||
RSpec.describe CacheKeysHelper do
|
||||
let(:account_id) { 1 }
|
||||
let(:key) { 'example_key' }
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require 'rails_helper'
|
||||
|
||||
describe EmailHelper, type: :helper do
|
||||
describe EmailHelper do
|
||||
describe '#normalize_email_with_plus_addressing' do
|
||||
context 'when email is passed' do
|
||||
it 'normalise if plus addressing is present' do
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require 'rails_helper'
|
||||
|
||||
describe FrontendUrlsHelper, type: :helper do
|
||||
describe FrontendUrlsHelper do
|
||||
describe '#frontend_url' do
|
||||
context 'without query params' do
|
||||
it 'creates path correctly' do
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require 'rails_helper'
|
||||
|
||||
describe MessageFormatHelper, type: :helper do
|
||||
describe MessageFormatHelper do
|
||||
describe '#transform_user_mention_content' do
|
||||
context 'when transform_user_mention_content called' do
|
||||
it 'return transormed text correctly' do
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require 'rails_helper'
|
||||
|
||||
describe UrlHelper, type: :helper do
|
||||
describe UrlHelper do
|
||||
describe '#url_valid' do
|
||||
context 'when url valid called' do
|
||||
it 'return if valid url passed' do
|
||||
|
||||
Reference in New Issue
Block a user