Sha256: 70ddf50d0e9da8b126bbd9fb4c5c268c4c66203ff99fe1a0ba0e24fe159a0cfe
Contents?: true
Size: 973 Bytes
Versions: 1
Compression:
Stored size: 973 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 :bigint 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 not null # updated_at :datetime not null # display_name_translations :jsonb not null #
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_library-0.4.0.rc.1 | spec/models/search_engine_spec.rb |