Project

General

Profile

Feature #34863 » 0001-Add-settings-fixture-for-default-text_formatting.patch

Ko Nagase, 2022-11-13 02:19

View differences:

test/fixtures/settings.yml
1
--- 
2
settings_001: 
3
  name: text_formatting
4
  id: 1
5
  value: common_mark
test/unit/setting_test.rb
20 20
require File.expand_path('../../test_helper', __FILE__)
21 21

  
22 22
class SettingTest < ActiveSupport::TestCase
23
  fixtures :users
23
  fixtures :users, :settings
24 24

  
25 25
  def setup
26 26
    User.current = nil
(7-7/7)