test/search/query_from_url.rb in gscraper-0.1.3 vs test/search/query_from_url.rb in gscraper-0.1.4

- old
+ new

@@ -9,14 +9,10 @@ def setup @query = Search::Query.from_url(QUERY_URL) end - def teardown - @query = nil - end - def test_query assert_equal @query.query, 'test' end def test_exact_phrase @@ -43,8 +39,12 @@ assert_nil @query.similar_to end def test_links_to assert_nil @query.links_to + end + + def teardown + @query = nil end end