Sha256: 04f4df4c8c729e89200b657860143d4054f1753a9ba9ec512ed9807d52153453

Contents?: true

Size: 576 Bytes

Versions: 11

Compression:

Stored size: 576 Bytes

Contents

FactoryBot.define do
  factory :stop_word, class: "CensorBear::StopWord" do
    ugc { "ignore" }
    username { "ignore" }
    nickname { "ignore" }
    signature { "ignore" }
    dialog { "ignore" }
    user {
      User.first || FactoryBot.create(:user)
    }
  end
  factory :stop_word_hello, class: "CensorBear::StopWord" do
    ugc { "replace" }
    username { "replace" }
    key {"hello"}
    replacement {"goodbye"}
    nickname { "replace" }
    signature { "replace" }
    dialog { "replace" }
    user {
      User.first || FactoryBot.create(:user)
    }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
censor_bear-0.1.29 test/factories/stop_words.rb
censor_bear-0.1.28 test/factories/stop_words.rb
censor_bear-0.1.27 test/factories/stop_words.rb
censor_bear-0.1.26 test/factories/stop_words.rb
censor_bear-0.1.25 test/factories/stop_words.rb
censor_bear-0.1.24 test/factories/stop_words.rb
censor_bear-0.1.23 test/factories/stop_words.rb
censor_bear-0.1.22 test/factories/stop_words.rb
censor_bear-0.1.21 test/factories/stop_words.rb
censor_bear-0.1.20 test/factories/stop_words.rb
censor_bear-0.1.19 test/factories/stop_words.rb