Skip to content

Commit 0e223ac

Browse files
committed
iOS text elements tests are green
1 parent 16b33af commit 0e223ac

File tree

1 file changed

+6
-6
lines changed
  • ios_tests/lib/ios/specs/ios/element

1 file changed

+6
-6
lines changed

ios_tests/lib/ios/specs/ios/element/text.rb

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def ui_catalog
55
end
66

77
def uiview_transitions
8-
'Transitions, Shows UIViewAnimationTransitions'
8+
'Transitions'
99
end
1010

1111
def before_first
@@ -26,14 +26,14 @@ def before_first
2626
end
2727

2828
t 'text' do
29-
text('mat').text.must_equal uiview_transitions
29+
text('siti').text.must_equal uiview_transitions
3030
text(1).text.must_equal ui_catalog
31-
text('mat').name.must_equal uiview_transitions
31+
text('siti').name.must_equal uiview_transitions
3232
end
3333

3434
t 'texts' do
35-
exp = ['Controls, Various uses of UIControl', 'Segments, Various uses of UISegmentedControl']
36-
texts.length.must_equal 13
35+
exp = ['Controls', 'Various uses of UIControl', 'Various uses of UISegmentedControl']
36+
texts.length.must_equal 24
3737
texts('trol').map { |e| e.name }.must_equal exp
3838
texts('uses').length.must_equal 7
3939
end
@@ -55,4 +55,4 @@ def before_first
5555
t 'texts_exact' do
5656
texts_exact('UICatalog').length.must_equal 1
5757
end
58-
end
58+
end

0 commit comments

Comments
 (0)