mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
DRY up bootstrapSwitches with default values
This commit is contained in:
parent
d703dad496
commit
1e9765c163
12 changed files with 33 additions and 66 deletions
|
|
@ -71,9 +71,8 @@ describe EventsHelper, type: :helper do
|
|||
)
|
||||
end
|
||||
|
||||
it 'should patch to the admin event url' do
|
||||
it 'should use the admin event url' do
|
||||
expect(result).to include(
|
||||
'method="patch"',
|
||||
"url=\"/admin/conferences/#{conference.short_title}/program" \
|
||||
"/events/#{event.id}?event%5Bis_highlight%5D=\""
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue