diff --git a/spec/lib/stretcher_index_type_spec.rb b/spec/lib/stretcher_index_type_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/stretcher_index_type_spec.rb
+++ b/spec/lib/stretcher_index_type_spec.rb
@@ -17,13 +17,12 @@ describe Stretcher::Index do
   describe "searching" do
     before do
       @doc = {:message => "hello"}
+      type.put(123123, @doc)
+      index.refresh
     end
 
     it "should search and find the right doc" do
-      match_text = 'hello'
-      type.put(123123, @doc)
-      index.refresh
-      res = type.search({}, {:query => {:match => {:message => match_text}}})
+      res = type.search({}, {:query => {:match => {:message => @doc[:message]}}})
       res.results.first.message.should == @doc[:message]
     end
Fix spec that shouldn't have been passing in IndexType spec