-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #483 from phatblat/ben/libgit2-build
Cleanup libgit2 build
- Loading branch information
Showing
4 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// | ||
// Libgit2FeaturesSpec.m | ||
// ObjectiveGitFramework | ||
// | ||
// Created by Ben Chatelain on 7/6/15. | ||
// Copyright (c) 2015 GitHub, Inc. All rights reserved. | ||
// | ||
|
||
#import <Nimble/Nimble.h> | ||
#import <ObjectiveGit/ObjectiveGit.h> | ||
#import <Quick/Quick.h> | ||
|
||
#import "QuickSpec+GTFixtures.h" | ||
|
||
QuickSpecBegin(Libgit2FeaturesSpec) | ||
|
||
describe(@"libgit", ^{ | ||
|
||
__block git_feature_t git_features = 0; | ||
|
||
beforeEach(^{ | ||
git_features = git_libgit2_features(); | ||
}); | ||
|
||
it(@"should be built with THREADS enabled", ^{ | ||
expect(@(git_features & GIT_FEATURE_THREADS)).to(beTruthy()); | ||
}); | ||
|
||
it(@"should be built with HTTPS enabled", ^{ | ||
expect(@(git_features & GIT_FEATURE_HTTPS)).to(beTruthy()); | ||
}); | ||
|
||
it(@"should be built with SSH enabled", ^{ | ||
expect(@(git_features & GIT_FEATURE_SSH)).to(beTruthy()); | ||
}); | ||
|
||
}); | ||
|
||
QuickSpecEnd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters