summaryrefslogtreecommitdiffstats
path: root/test/tests/test_actionslider.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-12-23 11:42:31 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-12-23 11:42:31 +0100
commit0bef1f8b9034d664bfaa5c04b904ba4a0afa5e97 (patch)
treedf688035e3b17a8d5633c5fe5ceb7dfb6dca33e1 /test/tests/test_actionslider.rb
parent28698bffd2b8f3a255ac97f4c0860ae4cbf732b9 (diff)
downloadffi-efl-0bef1f8b9034d664bfaa5c04b904ba4a0afa5e97.zip
ffi-efl-0bef1f8b9034d664bfaa5c04b904ba4a0afa5e97.tar.gz
fix tests
Diffstat (limited to 'test/tests/test_actionslider.rb')
-rw-r--r--test/tests/test_actionslider.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tests/test_actionslider.rb b/test/tests/test_actionslider.rb
index 9305f38..a04f380 100644
--- a/test/tests/test_actionslider.rb
+++ b/test/tests/test_actionslider.rb
@@ -28,9 +28,9 @@ module Tests
as = Elm::ElmActionSlider.new self do |as|
as.size_hint_weight_set Evas::EVAS_HINT_EXPAND, 0
as.size_hint_align_set Evas::EVAS_HINT_FILL, 0
- as.text_part = "left", "Snooze"
- as.text_part = "center", nil
- as.text_part = "right", "Stop"
+ as.part_text = "left", "Snooze"
+ as.part_text = "center", nil
+ as.part_text = "right", "Stop"
as.indicator_pos = :elm_actionslider_right
as.magnet_pos = :elm_actionslider_right
as.enabled_pos = as_pos[:elm_actionslider_left]|as_pos[:elm_actionslider_right]