Sha256: a22829f23790e1669375b99556a9f30f34bcb124d942c55c37764c9e6befc389
Contents?: true
Size: 485 Bytes
Versions: 2
Compression:
Stored size: 485 Bytes
Contents
require 'spec_helper' describe "SearchMatcher" do describe BlogPost do before(:each) do BlogPost.delete_all I18n.locale = "en" end after(:each) do BlogPost.delete_all I18n.locale = "en" end context "Search" do it "should find blog_post with a keyword using custom matcher" do BlogPost.should search_by(:title, :content, :locale => I18n.locale.to_s) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems