diff --git a/spec/i18n_spec.rb b/spec/i18n_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/i18n_spec.rb
+++ b/spec/i18n_spec.rb
@@ -16,7 +16,7 @@ describe 'translations' do
     project_root = Pathname.new(File.expand_path('../../', __FILE__))
     zendesk_version  = project_root.join('config/locales/translations/zendesk_apps_support.yml')
     standard_version = project_root.join('config/locales/en.yml')
-    File.mtime(zendesk_version).should be <= File.mtime(standard_version)
+    File.mtime(zendesk_version).to_i.should be <= File.mtime(standard_version).to_i
   end
 
 end
use integer to compare times to fix the precision issue.