test/rake_test.rb in ruboto-0.13.0.rc.0 vs test/rake_test.rb in ruboto-0.13.0
- old
+ new
@@ -32,13 +32,13 @@
assert_match %r{^/sdcard/Android/data/#{PACKAGE}/files/scripts$}, `adb shell ls -d /sdcard/Android/data/#{PACKAGE}/files/scripts`.chomp
end
def test_that_apk_is_built_if_only_one_ruby_source_file_has_changed
Dir.chdir APP_DIR do
- system 'rake install'
+ system 'rake debug'
apk_timestamp = File.ctime("bin/#{APP_NAME}-debug.apk")
FileUtils.touch 'src/ruboto_test_app_activity.rb'
- system 'rake install'
+ system 'rake debug'
assert_not_equal apk_timestamp, File.ctime("bin/#{APP_NAME}-debug.apk"), 'APK should have been rebuilt'
end
end
def test_that_manifest_is_updated_when_project_properties_are_changed