Refactoring Applying the live preview of interface font

We renamed get*font to just *font

Change-Id: Ib6992849a2bf927d2e2d465231df58857e506a62
This commit is contained in:
Niklas Laxström
2013-10-28 12:19:36 +02:00
committed by Amire80
parent b47a8ac5d3
commit 891b6977ce
5 changed files with 18 additions and 19 deletions

View File

@@ -46,13 +46,6 @@ end
When(/^I apply the changes$/) do
on(PanelPage).panel_button_apply_element.click
# Leave a little time for the settings to be saved. The settings window closes
# immediately, so it is not enough to wait for it to disappear.
sleep 4
end
Then(/^the interface font must be changed to the "(.*?)" font$/) do |font|
on(PanelPage).get_interface_font.should match("^#{font}")
end
Then(/^I can disable input methods$/) do