Sha256: 35e83954710554909fbe818faa7253dd659ac565d71afc2c47d12c186c3409c7
Contents?: true
Size: 653 Bytes
Versions: 13
Compression:
Stored size: 653 Bytes
Contents
require 'spec_helper' describe Kashiwamochi::Configuration do subject { Kashiwamochi.config } describe '#configure' do before do Kashiwamochi.configure do |config| @config = config end end subject { @config } it { should be_an_instance_of Kashiwamochi::Configuration } it { should eq Kashiwamochi.config } end describe 'config' do context 'by default' do its(:search_key) { should eq :q } its(:sort_key) { should eq :s } its(:form_class) { should eq :search } its(:form_method) { should eq :form_for } its(:sort_link_class) { should eq :sort_link } end end end
Version data entries
13 entries across 13 versions & 1 rubygems