Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (26 sloc) 749 Bytes
//
// NSManagedObject+MagicalDataImportSpec.m
// MagicalRecord
//
// Created by Tony Arnold on 21/08/2013.
// Copyright 2013 Magical Panda Software LLC. All rights reserved.
//
#import "Specta.h"
#define EXP_SHORTHAND
#import "Expecta.h"
#import "NSManagedObject+MagicalDataImport.h"
SpecBegin(NSManagedObjectMagicalDataImport)
describe(@"NSManagedObject+MagicalDataImport", ^{
beforeAll(^{
[MagicalRecord setDefaultModelFromClass:[self class]];
[MagicalRecord setupCoreDataStackWithInMemoryStore];
});
afterEach(^{
[NSManagedObjectContext MR_resetContextForCurrentThread];
[NSManagedObjectContext MR_resetDefaultContext];
});
afterAll(^{
[MagicalRecord cleanUp];
});
});
SpecEnd
Jump to Line
Something went wrong with that request. Please try again.