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

- old
+ new

@@ -212,9 +212,14 @@ last.name.should == 'value' last.type.name.should == :DOMString last.type.should be_nullable end + it "creates a static operation" do + interface = parse(fixture("interface_with_static_operation.idl")).build.first + interface.members.first.should be_static + end + it "creates an implements statement" do mod = parse(fixture("module_with_implements_statement.idl")).build.first mod.definitions.first.should be_kind_of(WebIDL::Ast::Interface)