spec/trufflepig/search_spec.rb in trufflepig-0.2.8 vs spec/trufflepig/search_spec.rb in trufflepig-0.2.9

- old
+ new

@@ -42,9 +42,20 @@ it "finds a truffle" do @search.results.collect{|f| f["id"] }.must_include "getelementsbyclassname" end end + + describe "symlinked file" do + before do + @search = Trufflepig::Search.new "#{dummy_app_path}/linked.html" + @search.perform + end + + it "finds a truffle" do + @search.results.collect{|f| f["id"] }.must_include "video" + end + end end describe "with directory path" do before do @search = Trufflepig::Search.new dummy_app_path