Sha256: c1ede48affd3bab1a840b35e64c97c9039671b46200494e33c01198127d576a4

Contents?: true

Size: 775 Bytes

Versions: 11

Compression:

Stored size: 775 Bytes

Contents

require 'rails_helper'

describe SearchEngine do
  fixtures :search_engines

  it "should respond to search_params" do
    search_engines(:search_engine_00001).search_params('test').should eq({submit: 'Search', locale: 'ja', keyword: 'test'})
  end
end

# == Schema Information
#
# Table name: search_engines
#
#  id               :integer          not null, primary key
#  name             :string           not null
#  display_name     :text
#  url              :string           not null
#  base_url         :text             not null
#  http_method      :text             not null
#  query_param      :text             not null
#  additional_param :text
#  note             :text
#  position         :integer
#  created_at       :datetime
#  updated_at       :datetime
#

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
enju_library-0.3.11 spec/models/search_engine_spec.rb
enju_library-0.3.10 spec/models/search_engine_spec.rb
enju_library-0.3.9 spec/models/search_engine_spec.rb
enju_library-0.3.8 spec/models/search_engine_spec.rb
enju_library-0.3.8.rc.2 spec/models/search_engine_spec.rb
enju_library-0.3.8.rc.1 spec/models/search_engine_spec.rb
enju_library-0.3.7 spec/models/search_engine_spec.rb
enju_library-0.3.6 spec/models/search_engine_spec.rb
enju_library-0.3.5 spec/models/search_engine_spec.rb
enju_library-0.3.4 spec/models/search_engine_spec.rb
enju_library-0.3.3 spec/models/search_engine_spec.rb