24 lines
480 B
Ruby
24 lines
480 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "bundler/inline"
|
|
|
|
gemfile(true) do
|
|
source "https://rubygems.org"
|
|
|
|
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
|
|
|
# Activate the gem you are reporting the issue against.
|
|
gem "activesupport", "6.0.0.rc1"
|
|
end
|
|
|
|
require "active_support"
|
|
require "active_support/core_ext/object/blank"
|
|
require "minitest/autorun"
|
|
|
|
class BugTest < Minitest::Test
|
|
def test_stuff
|
|
assert "zomg".present?
|
|
refute "".present?
|
|
end
|
|
end
|