Feature #34863 » 0001-Add-settings-fixture-for-default-text_formatting.patch
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 |
- « Previous
- 1
- …
- 5
- 6
- 7
- Next »