Feature #34863 » 0001-Add-settings-fixture-for-default-text_formatting.patch
| test/fixtures/settings.yml | ||
|---|---|---|
|
---
|
||
|
settings_001:
|
||
|
name: text_formatting
|
||
|
id: 1
|
||
|
value: common_mark
|
||
| test/unit/setting_test.rb | ||
|---|---|---|
|
require File.expand_path('../../test_helper', __FILE__)
|
||
|
class SettingTest < ActiveSupport::TestCase
|
||
|
fixtures :users
|
||
|
fixtures :users, :settings
|
||
|
def setup
|
||
|
User.current = nil
|
||
- « Previous
- 1
- …
- 5
- 6
- 7
- Next »