mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-11 06:20:42 +00:00
Changing the use of config constants to the Rails configuration object
This commit is contained in:
@@ -4,7 +4,7 @@ RSpec.describe ApplicationHelper, type: :helper do
|
||||
let(:local_domain) { 'local.tld' }
|
||||
|
||||
before do
|
||||
stub_const('LOCAL_DOMAIN', local_domain)
|
||||
Rails.configuration.x.local_domain = local_domain
|
||||
end
|
||||
|
||||
describe '#unique_tag' do
|
||||
|
||||
Reference in New Issue
Block a user