Added a test for parsing bare text tokens.
This commit is contained in:
parent
34f8779c94
commit
edf2e4112b
|
@ -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
|
Loading…
Reference in New Issue