Skip to content

Commit

Permalink
Added a new/simple BDD test + Created Groups for different unit tests…
Browse files Browse the repository at this point in the history
… and BDD specs
  • Loading branch information
matzew committed Aug 22, 2012
1 parent e651687 commit 8f47e05
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 7 deletions.
26 changes: 21 additions & 5 deletions AeroGear-iOS/AeroGear-iOS.xcodeproj/project.pbxproj
Expand Up @@ -98,6 +98,25 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
573CBDA515E4F9000071E7A6 /* Unit Tests */ = {
isa = PBXGroup;
children = (
57345BDA15E3D1DF00B74FEB /* AGHttpClientTests.h */,
57345BDB15E3D1DF00B74FEB /* AGHttpClientTests.m */,
573CBD9F15E4CEDD0071E7A6 /* AGPipelineTests.h */,
573CBDA015E4CEDD0071E7A6 /* AGPipelineTests.m */,
);
name = "Unit Tests";
sourceTree = "<group>";
};
573CBDA615E4F9110071E7A6 /* BDD Specs */ = {
isa = PBXGroup;
children = (
573CBDA315E4F31B0071E7A6 /* AGPipelineSpec.m */,
);
name = "BDD Specs";
sourceTree = "<group>";
};
57737FCE15E3D01D006B97BB = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -158,12 +177,9 @@
57737FF315E3D01D006B97BB /* AeroGear-iOSTests */ = {
isa = PBXGroup;
children = (
573CBDA615E4F9110071E7A6 /* BDD Specs */,
573CBDA515E4F9000071E7A6 /* Unit Tests */,
57737FF415E3D01D006B97BB /* Supporting Files */,
57345BDA15E3D1DF00B74FEB /* AGHttpClientTests.h */,
57345BDB15E3D1DF00B74FEB /* AGHttpClientTests.m */,
573CBD9F15E4CEDD0071E7A6 /* AGPipelineTests.h */,
573CBDA015E4CEDD0071E7A6 /* AGPipelineTests.m */,
573CBDA315E4F31B0071E7A6 /* AGPipelineSpec.m */,
);
path = "AeroGear-iOSTests";
sourceTree = "<group>";
Expand Down
9 changes: 7 additions & 2 deletions AeroGear-iOS/AeroGear-iOSTests/AGPipelineSpec.m
Expand Up @@ -24,9 +24,14 @@


it(@"should not be nil", ^{

[pipeline shouldNotBeNil];

id pipe = [pipeline get:@"tests"];
[[theValue(pipe) shouldNot] equal:nil];
});

it(@"should have a pipe", ^{
id pipe = [pipeline get:@"tests"];
[[theValue(pipe) shouldNot] equal:nil];
});

});
Expand Down

0 comments on commit 8f47e05

Please sign in to comment.