test/activity/spinner_activity_test.rb in ruboto-1.1.2 vs test/activity/spinner_activity_test.rb in ruboto-1.2.0
- old
+ new
@@ -31,21 +31,21 @@
end
test('list spinner view resources') do |activity|
activity.run_on_ui_thread do
spinner = activity.findViewById(45)
- assert_equal R::layout::simple_spinner_item, spinner.adapter.mResource
- assert_equal R::layout::simple_spinner_item, spinner.adapter.mDropDownResource
+ assert_equal android.R::layout::simple_spinner_item, spinner.adapter.mResource
+ assert_equal android.R::layout::simple_spinner_item, spinner.adapter.mDropDownResource
assert_equal 0, spinner.adapter.mFieldId
spinner = activity.findViewById(46)
- assert_equal R::layout::simple_spinner_dropdown_item, spinner.adapter.mResource
- assert_equal R::layout::simple_spinner_dropdown_item, spinner.adapter.mDropDownResource
+ assert_equal android.R::layout::simple_spinner_dropdown_item, spinner.adapter.mResource
+ assert_equal android.R::layout::simple_spinner_dropdown_item, spinner.adapter.mDropDownResource
assert_equal 0, spinner.adapter.mFieldId
spinner = activity.findViewById(47)
- assert_equal R::layout::simple_spinner_dropdown_item, spinner.adapter.mResource
- assert_equal R::layout::simple_spinner_item, spinner.adapter.mDropDownResource
+ assert_equal android.R::layout::simple_spinner_dropdown_item, spinner.adapter.mResource
+ assert_equal android.R::layout::simple_spinner_item, spinner.adapter.mDropDownResource
assert_equal 0, spinner.adapter.mFieldId
end
end
def assert_spinner_selection(activity, spinner_id, expected_text)