fix(rubocop): Satisfy Style/EmptyMethod [ci skip]
This commit is contained in:
parent
cdcef128cf
commit
0acc27eaac
|
@ -45,8 +45,7 @@ class CustomPlan < Zeus::Plan
|
|||
raise CouldNotBootZeusError.create(underlying_error: error)
|
||||
end
|
||||
|
||||
def after_fork
|
||||
end
|
||||
def after_fork; end
|
||||
|
||||
def test_environment
|
||||
require_relative 'spec/unit_spec_helper'
|
||||
|
|
|
@ -6,8 +6,7 @@ module Shoulda
|
|||
class MissingLibrary
|
||||
Integrations.register_library(self, :missing_library)
|
||||
|
||||
def integrate_with(test_framework)
|
||||
end
|
||||
def integrate_with(test_framework); end
|
||||
|
||||
def rails?
|
||||
false
|
||||
|
|
|
@ -6,8 +6,7 @@ module Shoulda
|
|||
class ActiveSupportTestCase
|
||||
Integrations.register_test_framework(self, :active_support_test_case)
|
||||
|
||||
def validate!
|
||||
end
|
||||
def validate!; end
|
||||
|
||||
def include(*modules, **options)
|
||||
test_case_class.include(*modules)
|
||||
|
|
|
@ -6,8 +6,7 @@ module Shoulda
|
|||
class Minitest4
|
||||
Integrations.register_test_framework(self, :minitest_4)
|
||||
|
||||
def validate!
|
||||
end
|
||||
def validate!; end
|
||||
|
||||
def include(*modules, **options)
|
||||
test_case_class.class_eval do
|
||||
|
|
|
@ -7,8 +7,7 @@ module Shoulda
|
|||
Integrations.register_test_framework(self, :minitest_5)
|
||||
Integrations.register_test_framework(self, :minitest)
|
||||
|
||||
def validate!
|
||||
end
|
||||
def validate!; end
|
||||
|
||||
def include(*modules, **options)
|
||||
test_case_class.class_eval do
|
||||
|
|
|
@ -23,8 +23,7 @@ end
|
|||
EOT
|
||||
end
|
||||
|
||||
def include(*modules, **options)
|
||||
end
|
||||
def include(*modules, **options); end
|
||||
|
||||
def n_unit?
|
||||
false
|
||||
|
|
|
@ -6,8 +6,7 @@ module Shoulda
|
|||
class Rspec
|
||||
Integrations.register_test_framework(self, :rspec)
|
||||
|
||||
def validate!
|
||||
end
|
||||
def validate!; end
|
||||
|
||||
def include(*modules, **options)
|
||||
::RSpec.configure do |config|
|
||||
|
|
|
@ -6,8 +6,7 @@ module Shoulda
|
|||
class TestUnit
|
||||
Integrations.register_test_framework(self, :test_unit)
|
||||
|
||||
def validate!
|
||||
end
|
||||
def validate!; end
|
||||
|
||||
def include(*modules, **options)
|
||||
test_case_class.class_eval do
|
||||
|
|
|
@ -5,8 +5,7 @@ module Tests
|
|||
:sqlite3
|
||||
end
|
||||
|
||||
def initialize(_database)
|
||||
end
|
||||
def initialize(_database); end
|
||||
|
||||
def adapter
|
||||
self.class.name
|
||||
|
|
Loading…
Reference in New Issue