lib/assert_value.rb in assert_value-1.5.2 vs lib/assert_value.rb in assert_value-1.5.3

- old
+ new

@@ -215,10 +215,10 @@ if defined? RAILS_ROOT log_file = File.expand_path(log_file, RAILS_ROOT) else log_file = File.expand_path(log_file, Dir.pwd) end - expected = File.exists?(log_file) ? File.read(log_file) : "" + expected = File.exist?(log_file) ? File.read(log_file) : "" change = :update_file_with_expected_string else internal_error("Invalid expected class #{expected.class}") end