spec/parser_spec.rb in webidl-0.0.8 vs spec/parser_spec.rb in webidl-0.0.9

- old
+ new

@@ -69,9 +69,17 @@ IDL parse(str).should_not be_nil end + it "parses static types" do + str = <<-IDL + interface Bar { static DOMString createBar(); }; + IDL + + parse(str).should_not be_nil + end + it "parses the WebSocket interface idl" do parse(fixture("websocket.idl")).should_not be_nil end it "parses the HTML5 DOM interface idl" do