aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates/generic_master.rb
diff options
context:
space:
mode:
Diffstat (limited to 'guides/bug_report_templates/generic_master.rb')
-rw-r--r--guides/bug_report_templates/generic_master.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/guides/bug_report_templates/generic_master.rb b/guides/bug_report_templates/generic_master.rb
new file mode 100644
index 0000000000..ec65fee292
--- /dev/null
+++ b/guides/bug_report_templates/generic_master.rb
@@ -0,0 +1,22 @@
+# frozen_string_literal: true
+
+require "bundler/inline"
+
+gemfile(true) do
+ source "https://rubygems.org"
+
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
+
+ gem "rails", github: "rails/rails"
+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