Skip to content

Instantly share code, notes, and snippets.

@vishalzambre
Created April 12, 2017 13:03
Show Gist options
  • Save vishalzambre/d51a0b6b3668719d8bc6744c1c5ec15e to your computer and use it in GitHub Desktop.
Save vishalzambre/d51a0b6b3668719d8bc6744c1c5ec15e to your computer and use it in GitHub Desktop.
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