Added a test for parsing bare text tokens.
This commit is contained in:
1 parent
34f8779c94
commit
edf2e4112b
1 file changed
+7
@@ -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
|
||||
Reference in new issue
Block a user