mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 22:21:11 +00:00
Hexadecimal color changed to capital letters
The default colors in event_types and difficulty levels are in capital letters and the ones that comes from the color picker were not. Now colors are capitalized before saving the track, level or type. A rake task has also been created to capitalize color from old tracks, levels or types.
This commit is contained in:
parent
0deaf1abc7
commit
8d9bb56f06
11 changed files with 72 additions and 15 deletions
|
|
@ -9,6 +9,6 @@ describe 'admin/difficulty_levels/index' do
|
|||
render
|
||||
expect(rendered).to include('Example Difficulty Level')
|
||||
expect(rendered).to include('Lorem Ipsum dolsum')
|
||||
expect(rendered).to include('#ffffff')
|
||||
expect(rendered).to include('#FFFFFF')
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue