From 97355f7cb281e95bf9b56d26d3c7d3eb2d1506d0 Mon Sep 17 00:00:00 2001 From: CV-Gate Date: Sun, 4 Jan 2015 18:27:37 +0100 Subject: [PATCH] Update acts-as-messageable_spec.rb --- spec/acts-as-messageable_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/acts-as-messageable_spec.rb b/spec/acts-as-messageable_spec.rb index b313cef8e..7f34e7d52 100644 --- a/spec/acts-as-messageable_spec.rb +++ b/spec/acts-as-messageable_spec.rb @@ -246,7 +246,7 @@ end it "bob should be able to search text from messages" do - recordset = @bob.messages.search("I am fine") + recordset = @bob.messages.text_search("I am fine") recordset.count.should == 1 recordset.should_not be_nil end