Sha256: 6187d3612d7e16b5be7a47a02f0e9cabe75992ecd84efd97e5848e810f8d18ee

Contents?: true

Size: 300 Bytes

Versions: 17

Compression:

Stored size: 300 Bytes

Contents

FactoryBot.define do
  factory :search_engine do |f|
    f.sequence(:name){|n| "search_engine_#{n}"}
    f.sequence(:url){|n| "http://search-engine-#{n}.example.jp"}
    f.sequence(:base_url){|n| "http://search-engine-#{n}.example.jp"}
    f.query_param { 'q' }
    f.http_method { 'get' }
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
enju_library-0.3.11 spec/factories/search_engine.rb
enju_library-0.3.10 spec/factories/search_engine.rb
enju_library-0.3.9 spec/factories/search_engine.rb
enju_library-0.3.8 spec/factories/search_engine.rb
enju_library-0.3.8.rc.2 spec/factories/search_engine.rb
enju_library-0.3.8.rc.1 spec/factories/search_engine.rb
enju_library-0.4.0.rc.1 spec/factories/search_engine.rb
enju_library-0.3.7 spec/factories/search_engine.rb
enju_library-0.3.6 spec/factories/search_engine.rb
enju_library-0.4.0.beta.4 spec/factories/search_engine.rb
enju_library-0.4.0.beta.3 spec/factories/search_engine.rb
enju_library-0.4.0.beta.2 spec/factories/search_engine.rb
enju_library-0.4.0.beta.1 spec/factories/search_engine.rb
enju_library-0.3.5 spec/factories/search_engine.rb
enju_library-0.3.4 spec/factories/search_engine.rb
enju_library-0.3.3 spec/factories/search_engine.rb
enju_library-0.3.2 spec/factories/search_engine.rb