Sha256: 7faaf55449a2f6656f7191cbc93b8f75643b52ca7b4eb572036e6dfa7056d069

Contents?: true

Size: 804 Bytes

Versions: 6

Compression:

Stored size: 804 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'spec_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(255)     not null
#  display_name     :text
#  url              :string(255)     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

6 entries across 6 versions & 1 rubygems

Version Path
enju_library-0.1.0.pre5 spec/models/search_engine_spec.rb
enju_library-0.1.0.pre4 spec/models/search_engine_spec.rb
enju_library-0.1.0.pre3 spec/models/search_engine_spec.rb
enju_library-0.1.0.pre2 spec/models/search_engine_spec.rb
enju_library-0.1.0.pre spec/models/search_engine_spec.rb
enju_library-0.0.2 spec/models/search_engine_spec.rb