test/info_test.rb in fir-cli-1.2.2 vs test/info_test.rb in fir-cli-1.2.3
- old
+ new
@@ -1,11 +1,11 @@
# encoding: utf-8
class InfoTest < Minitest::Test
def test_apk_info
- info = FIR.apk_info(default_apk, true)
+ info = FIR.apk_info(default_apk, full_info: true)
assert_equal 'android', info[:type]
assert_equal 'com.bughd.myapplication', info[:identifier]
assert_equal 'My Application', info[:name]
assert_equal '1', info[:build]
@@ -15,11 +15,11 @@
assert FIR.info(default_apk, {})
end
def test_ipa_info
- info = FIR.ipa_info(default_ipa, true)
+ info = FIR.ipa_info(default_ipa, full_info: true)
assert_equal 'ios', info[:type]
assert_equal 'im.fir.build-ipa', info[:identifier]
assert_equal 'build_ipa', info[:name]
assert_equal '1', info[:build]
@@ -28,12 +28,9 @@
# Only for OSX
# assert_equal nil, info[:display_name]
# assert_equal default_device_udid, info[:devices].first
# assert_equal 'adhoc', info[:release_type]
# assert_equal default_distribution_name, info[:distribution_name]
-
- assert_equal true, info[:plist].is_a?(Hash)
- assert_equal true, info[:mobileprovision].is_a?(Hash)
assert FIR.info(default_ipa, {})
end
end