Sha256: 7b59ec3fe2c626f769ade9bb835dc05ec1703fd6a328170a6252b0572f75e2aa
Contents?: true
Size: 447 Bytes
Versions: 6
Compression:
Stored size: 447 Bytes
Contents
require "spec_helper" require "ib/generator" describe IB::Generator do it "generates stubs" do files = IB::Parser.new.find_all("spec/fixtures") stubs = IB::Generator.new.generate_objc(files) stubs.should == <<-OBJC @interface CustomView : UIView @property IBOutlet UIGreenLabel * greenLabel; @property IBOutlet UILabel * redLabel; -(IBAction) someAction:(id) sender; @end @interface EmptyView : UIView @end OBJC end end
Version data entries
6 entries across 6 versions & 1 rubygems