fix tests

This commit is contained in:
r888888888
2016-01-18 17:13:26 -08:00
parent 243368a758
commit ce3af81c9f
11 changed files with 37 additions and 20 deletions

View File

@@ -44,6 +44,7 @@ class SavedSearchTest < ActiveSupport::TestCase
context "Destroying a saved search" do
setup do
SqsService.any_instance.stubs(:send_message)
@user = FactoryGirl.create(:user)
@saved_search = @user.saved_searches.create(:tag_query => "xxx")
@saved_search.destroy