mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
ee1008de7a
- Layout/EmptyLines - Layout/EmptyLineAfterGuardClause - Layout/TrailingEmptyLines - Layout/EmptyLinesAroundBlockBody - Layout/EmptyLinesAroundModuleBody - Layout/EmptyLineAfterMagicComment - Layout/SpaceInsidePercentLiteralDelimiters - Layout/SpaceAroundEqualsInParameterDefault - Layout/SpaceInsideArrayLiteralBrackets - Layout/LeadingCommentSpace - Layout/SpaceBeforeComment - Layout/SpaceAroundOperators - Layout/SpaceInsideRangeLiteral - Layout/SpaceInsideReferenceBrackets - Layout/SpaceInLambdaLiteral - Layout/SpaceAfterComma - Layout/SpaceInsideHashLiteralBraces - Layout/TrailingWhitespace - Layout/ArgumentAlignment - Layout/HashAlignment - Layout/DotPosition - Layout/IndentationWidth - Layout/EndAlignment - Layout/MultilineOperationIndentation - Layout/IndentationConsistency - Layout/ClosingHeredocIndentation - Layout/MultilineMethodCallBrace- Layout - Layout/ClosingParenthesisIndentation
23 lines
512 B
Ruby
23 lines
512 B
Ruby
require_relative 'support/tests/current_bundle'
|
|
|
|
Tests::CurrentBundle.instance.assert_appraisal!
|
|
|
|
#---
|
|
|
|
require 'rspec/core'
|
|
|
|
require 'spec_helper'
|
|
|
|
Dir[File.join(File.expand_path('support/acceptance/**/*.rb', __dir__))].sort.each do |file|
|
|
require file
|
|
end
|
|
|
|
RSpec.configure do |config|
|
|
if config.respond_to?(:infer_spec_type_from_file_location!)
|
|
config.infer_spec_type_from_file_location!
|
|
end
|
|
|
|
AcceptanceTests::Helpers.configure_example_group(config)
|
|
|
|
config.include AcceptanceTests::Matchers
|
|
end
|