mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Switch logic for linting factories
Only if you set the environment variable OSEM_FACTORY_LINT to 'false' it won't lint.
This commit is contained in:
parent
3ce62979bd
commit
bd36ce0fb2
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ require_relative 'external_request'
|
|||
RSpec.configure do |config|
|
||||
|
||||
config.before(:suite) do
|
||||
if CONFIG['factory_girl_lint']
|
||||
if ENV['OSEM_FACTORY_LINT'] != 'false'
|
||||
mock_commercial_request
|
||||
FactoryGirl.lint
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue