File: factory_bot_spec.rb

package info (click to toggle)
ruby-rubocop-rspec 2.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,892 kB
  • sloc: ruby: 22,283; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 220 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

# Since FactoryBot is not a dependency, none of this should be executed. We just
# need the AST to exist.
if false
  FactoryBot.define do
    factory :foo do
      bar {}
    end
  end
end