 @testable import WeatherDemo
 
 class WeatherDemoTests: QuickSpec{
-    override func spec() {
-        
-        
+    override func spec() {    
         describe("MainViewController After init"){
             var viewController: MainViewController!
             var cityWeatherView: CityWeatherView!


                }
                
                it("CountOfCell is euqal to citiesInTable.count+1"){
                    expect(cellCount).to(equal(viewController.citiesInTable.count+1))
                }
                
                it("lastCell's label name is "+""){
                    let lastCell = table.cellForRowAtIndexPath(NSIndexPath(forRow: cellCount-1,inSection: 0)) as! CityListTableCell
                    expect(lastCell.nameLabel.text).to(equal("+"))
                }
            }
//            
//            describe("cityWeatherView"){
//                
//                fit("has original weather data"){
//                    expect(cityWeatherView.weatherJsonData).toEventuallyNot(beNil(), timeout: 1, pollInterval: 1, description: nil)
//                    expect(cityWeatherView.fiveDayJsonData).toNotEventually(beNil(), timeout: 1, pollInterval: 1, description: nil)
//                }
//                
//            }
//            
            context("after select city To Add"){
                var count = 0
                var cellCount = 0
                beforeEach{

                table = viewController.cityListTable
                cityWeatherView = viewController.cityWeatherView
            }
            
            it("notNil"){
                expect(viewController).toNot(beNil())
            }
