         }
         
         it("does not update the timestamp when a trip is saved but not changed") {
-          let (trip, temporaryContext) = coreDataClient.createObjectInTemporaryContext(Trip.self)
-          trip.parsing = true
-          trip.locationDescription = "Test"
-          trip.lastUpdate = 0
-          try! temporaryContext.save()
-          coreDataClient.saveStack()
-          
-          trip.parsing = false
           // do not trigger a relevant update before saving
           try! temporaryContext.save()
           coreDataClient.saveStack()

      
      describe("lastUpdated property") {
        
        it("updates to current timestamp when a trip is changed & saved") {
          let (trip, temporaryContext) = coreDataClient.createObjectInTemporaryContext(Trip.self)
          trip.parsing = true
          trip.locationDescription = "Test"
          trip.lastUpdate = 0
          try! temporaryContext.save()
          coreDataClient.saveStack()
          
          trip.parsing = false
          // trigger a relevant update before saving
          trip.locationDescription = "Updated"
          try! temporaryContext.save()

import Foundation
import Quick
import Nimble
import CoreData
@testable import TripPlanner

class TripSpec: QuickSpec {
