remove dependency on spec for nokogiri