Fixes default initializer of Action model.

Adds tests for Action model.
This commit is contained in:
2020-09-05 19:37:28 -07:00
parent 90c28b6629
commit 937aba27b1
3 changed files with 67 additions and 0 deletions

View File

@@ -10,6 +10,15 @@
@implementation Action
-(id)init {
self = [super init];
self.name = @"";
self.actionDescription = @"";
return self;
}
-(id)initWithName: (NSString*)name andDescription: (NSString*)description {
self = [super init];