mirror of https://github.com/rails/rails
Merge pull request #34335 from robin850/update-bug-report-templates
Update bug report templates
This commit is contained in:
commit
0d68e0690f
|
@ -1,11 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
begin
|
||||
require "bundler/inline"
|
||||
rescue LoadError => e
|
||||
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
|
||||
raise e
|
||||
end
|
||||
require "bundler/inline"
|
||||
|
||||
gemfile(true) do
|
||||
source "https://rubygems.org"
|
||||
|
@ -42,9 +37,6 @@ end
|
|||
|
||||
require "minitest/autorun"
|
||||
|
||||
# Ensure backward compatibility with minitest 4.
|
||||
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
|
||||
|
||||
class BugTest < Minitest::Test
|
||||
include Rack::Test::Methods
|
||||
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
begin
|
||||
require "bundler/inline"
|
||||
rescue LoadError => e
|
||||
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
|
||||
raise e
|
||||
end
|
||||
require "bundler/inline"
|
||||
|
||||
gemfile(true) do
|
||||
source "https://rubygems.org"
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
begin
|
||||
require "bundler/inline"
|
||||
rescue LoadError => e
|
||||
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
|
||||
raise e
|
||||
end
|
||||
require "bundler/inline"
|
||||
|
||||
gemfile(true) do
|
||||
source "https://rubygems.org"
|
||||
|
@ -19,9 +14,6 @@ end
|
|||
require "minitest/autorun"
|
||||
require "active_job"
|
||||
|
||||
# Ensure backward compatibility with minitest 4.
|
||||
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
|
||||
|
||||
class BuggyJob < ActiveJob::Base
|
||||
def perform
|
||||
puts "performed"
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
begin
|
||||
require "bundler/inline"
|
||||
rescue LoadError => e
|
||||
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
|
||||
raise e
|
||||
end
|
||||
require "bundler/inline"
|
||||
|
||||
gemfile(true) do
|
||||
source "https://rubygems.org"
|
||||
|
@ -18,9 +13,6 @@ end
|
|||
require "active_job"
|
||||
require "minitest/autorun"
|
||||
|
||||
# Ensure backward compatibility with minitest 4.
|
||||
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
|
||||
|
||||
class BuggyJob < ActiveJob::Base
|
||||
def perform
|
||||
puts "performed"
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
begin
|
||||
require "bundler/inline"
|
||||
rescue LoadError => e
|
||||
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
|
||||
raise e
|
||||
end
|
||||
require "bundler/inline"
|
||||
|
||||
gemfile(true) do
|
||||
source "https://rubygems.org"
|
||||
|
@ -21,9 +16,6 @@ require "active_record"
|
|||
require "minitest/autorun"
|
||||
require "logger"
|
||||
|
||||
# Ensure backward compatibility with minitest 4.
|
||||
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
|
||||
|
||||
# This connection will do for database-independent bug reports.
|
||||
ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")
|
||||
ActiveRecord::Base.logger = Logger.new(STDOUT)
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
begin
|
||||
require "bundler/inline"
|
||||
rescue LoadError => e
|
||||
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
|
||||
raise e
|
||||
end
|
||||
require "bundler/inline"
|
||||
|
||||
gemfile(true) do
|
||||
source "https://rubygems.org"
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
begin
|
||||
require "bundler/inline"
|
||||
rescue LoadError => e
|
||||
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
|
||||
raise e
|
||||
end
|
||||
require "bundler/inline"
|
||||
|
||||
gemfile(true) do
|
||||
source "https://rubygems.org"
|
||||
|
@ -21,9 +16,6 @@ require "active_record"
|
|||
require "minitest/autorun"
|
||||
require "logger"
|
||||
|
||||
# Ensure backward compatibility with minitest 4.
|
||||
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
|
||||
|
||||
# This connection will do for database-independent bug reports.
|
||||
ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")
|
||||
ActiveRecord::Base.logger = Logger.new(STDOUT)
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
begin
|
||||
require "bundler/inline"
|
||||
rescue LoadError => e
|
||||
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
|
||||
raise e
|
||||
end
|
||||
require "bundler/inline"
|
||||
|
||||
gemfile(true) do
|
||||
source "https://rubygems.org"
|
||||
|
@ -20,9 +15,6 @@ require "active_record"
|
|||
require "minitest/autorun"
|
||||
require "logger"
|
||||
|
||||
# Ensure backward compatibility with minitest 4.
|
||||
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test)
|
||||
|
||||
# This connection will do for database-independent bug reports.
|
||||
ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")
|
||||
ActiveRecord::Base.logger = Logger.new(STDOUT)
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
begin
|
||||
require "bundler/inline"
|
||||
rescue LoadError => e
|
||||
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
|
||||
raise e
|
||||
end
|
||||
require "bundler/inline"
|
||||
|
||||
gemfile(true) do
|
||||
source "https://rubygems.org"
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
begin
|
||||
require "bundler/inline"
|
||||
rescue LoadError => e
|
||||
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
|
||||
raise e
|
||||
end
|
||||
require "bundler/inline"
|
||||
|
||||
gemfile(true) do
|
||||
source "https://rubygems.org"
|
||||
|
@ -20,9 +15,6 @@ 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?
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
begin
|
||||
require "bundler/inline"
|
||||
rescue LoadError => e
|
||||
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
|
||||
raise e
|
||||
end
|
||||
require "bundler/inline"
|
||||
|
||||
gemfile(true) do
|
||||
source "https://rubygems.org"
|
||||
|
|
Loading…
Reference in New Issue