spec/lib/ib/parser_spec.rb in ib-0.7.2 vs spec/lib/ib/parser_spec.rb in ib-0.8.0

- old
+ new

@@ -17,16 +17,17 @@ ["redLabelCollection", "UILabel"], ["untyped_label_collection", "id"], ["yellowLabelCollection", "id"] ] info[:actions].should == [ - ["someAction", "sender", nil], - ["segueAction", "sender", "UIStoryboardSegue"], - ["anotherAction", "button", nil], - ["actionWithComment", "sender", nil], - ["actionWithBrackets", "sender", nil], - ["actionWithoutArgs", nil, nil], - ["actionWithDefaultedArgs", "sender", nil] + ["someAction", "sender", nil], + ["segueAction", "sender", "UIStoryboardSegue"], + ["anotherAction", "button", nil], + ["actionWithComment", "sender", nil], + ["actionWithBrackets", "sender", nil], + ["actionWithoutArgs", nil, nil], + ["exitAction", "story_board", nil], + ["actionWithDefaultedArgs", "sender", nil] ] end it "can parse complex superclasses" do info = IB::Parser.new(:ios).find("spec/fixtures/common/complex_superclass.rb")