Skip to content

Commit

Permalink
Merge pull request #23 from koraktor/parser-test
Browse files Browse the repository at this point in the history
Added test case for #22
  • Loading branch information
sferik committed Apr 16, 2012
2 parents a2f9405 + 9ba8125 commit 61629a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/multi_xml_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ class MockDecoder; end

describe "MultiXml" do
context "Parsers" do
it "should pick a default parser" do
MultiXml.parser.should be_kind_of(Module)
MultiXml.parser.should respond_to(:parse)
end

it "should default to the best available gem" do
pending
MultiXml.parser.name.should be == 'MultiXml::Parsers::Rexml'
Expand Down

0 comments on commit 61629a3

Please sign in to comment.