mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
10 lines
170 B
Ruby
10 lines
170 B
Ruby
![]() |
require 'minitest/stub_const'
|
||
|
|
||
|
module StubSiteConfigHelper
|
||
|
def stub_site_config
|
||
|
Object.stub_const(:SITE_CONFIG, SITE_CONFIG.clone) do
|
||
|
yield
|
||
|
end
|
||
|
end
|
||
|
end
|