Skip to content

Instantly share code, notes, and snippets.

@jaredfolkins
Created July 15, 2011 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaredfolkins/1085463 to your computer and use it in GitHub Desktop.
Save jaredfolkins/1085463 to your computer and use it in GitHub Desktop.
describe "#create_nokogiri_object" do
it "if supplied document is not a nokogiri object" do
document = DeschutesDocument.new('<html>')
document.nokogiri_document.should be_a_kind_of(Nokogiri)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment