mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 19:06:12 +02:00
Follow changes in previous commit
FactoryGirl -> FactoryBot Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
de1078e618
commit
0afc17c00a
@ -1,4 +1,4 @@
|
||||
FactoryGirl.define do
|
||||
FactoryBot.define do
|
||||
factory :fluentd do
|
||||
dir = Rails.root.join("tmp/fluentd-test").to_s
|
||||
FileUtils.mkdir_p(dir)
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
# Read about factories at https://github.com/thoughtbot/factory_bot
|
||||
|
||||
FactoryGirl.define do
|
||||
FactoryBot.define do
|
||||
factory :plugin do
|
||||
gem_name "fluent-plugin-dummy"
|
||||
version "1.2.3"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
FactoryGirl.define do
|
||||
FactoryBot.define do
|
||||
factory :user do
|
||||
name "admin"
|
||||
password "changeme"
|
||||
|
||||
@ -27,8 +27,8 @@ RSpec.configure do |config|
|
||||
# config.mock_with :flexmock
|
||||
# config.mock_with :rr
|
||||
|
||||
# Syntax sugar to use the FactoryGirl methods directly instead FactoryGirl.create ete.
|
||||
config.include FactoryGirl::Syntax::Methods
|
||||
# Syntax sugar to use the FactoryBot methods directly instead FactoryBot.create ete.
|
||||
config.include FactoryBot::Syntax::Methods
|
||||
config.include LoginMacro
|
||||
config.include JavascriptMacro
|
||||
config.include StubDaemon
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user