rails/guides/bug_report_templates/generic_gem.rb
Godfrey Chan ee43a67c2c Add a "generic" bug report template
This template gives contributors a starting point to use when reporting bugs
that does not involve Active Record or Action Pack.
2015-04-19 15:18:01 -07:00

16 lines
417 B
Ruby

# Activate the gems you are reporting the issue against.
gem 'activesupport', '4.2.0'
require 'active_support'
require 'active_support/core_ext/object/blank'
require 'minitest/autorun'
# Ensure backward compatibility with Minitest 4
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
class BugTest < Minitest::Test
def test_stuff
assert "zomg".present?
refute "".present?
end
end