spec/search/ajax_query_spec.rb in gscraper-0.3.0 vs spec/search/ajax_query_spec.rb in gscraper-0.4.0
- old
+ new
@@ -48,10 +48,11 @@
@uri.query_params['rsz'].should == 'large'
end
it "should have a default 'hl' query-param" do
hl = @uri.query_params['hl']
- hl.should == GScraper::Search::AJAXQuery::DEFAULT_LANGUAGE
+
+ hl.should_not be_empty
end
it "should have a default 'gss' query-param of '.com'" do
@uri.query_params['gss'].should == '.com'
end