Sha256: e778d40dbf5ab9774988c810743882d7e1248523b813e327e7137315d1c1bff4

Contents?: true

Size: 287 Bytes

Versions: 4

Compression:

Stored size: 287 Bytes

Contents

describe "A - AppDelegate" do
  
  before do
    @app = UIApplication.sharedApplication
  end

  it "has one window" do
    @app.windows.size.should == 1
  end

  it "should have correct root controller" do
    @app.keyWindow.rootViewController.class.should == DemoController
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
status_bar-0.2.3 spec/app_delegate_spec.rb
status_bar-0.2.2 spec/app_delegate_spec.rb
status_bar-0.2.1 spec/app_delegate_spec.rb
status_bar-0.2 spec/app_delegate_spec.rb