Created
April 12, 2017 13:03
-
-
Save vishalzambre/d51a0b6b3668719d8bc6744c1c5ec15e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
require "bundler/inline" | |
rescue LoadError => e | |
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler" | |
raise e | |
end | |
gemfile(true) do | |
source "https://rubygems.org" | |
gem "rails", github: "rails/rails" | |
gem "arel", github: "rails/arel" | |
end | |
require "active_support" | |
require "active_support/core_ext/object/blank" | |
require "minitest/autorun" | |
class BugTest < Minitest::Test | |
def test_str_to_d | |
assert_equal 0, ''.to_d | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment