diff --git a/spec/oga/parser/general_spec.rb b/spec/oga/parser/general_spec.rb new file mode 100644 index 0000000..fcbf3c0 --- /dev/null +++ b/spec/oga/parser/general_spec.rb @@ -0,0 +1,7 @@ +require 'spec_helper' + +describe Oga::Parser do + example 'parse regular text' do + parse_html('foo').should == s(:document, s(:text, 'foo')) + end +end