Skip to content

Commit

Permalink
Whitespace consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Milligan committed Dec 28, 2012
1 parent f066795 commit 75535b0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion OCUnitAppLogicTests/OCUnitAppLogicTests.mm
Expand Up @@ -5,7 +5,7 @@

SPEC_BEGIN(OCUnitAppLogicTests)

describe(@"A spec file testing domain classes", ^ {
describe(@"A spec file testing domain classes", ^{
it(@"should run", ^{
expect([DummyModel class]).to(equal([DummyModel class]));
});
Expand Down
2 changes: 1 addition & 1 deletion OCUnitAppTests/OCUnitApplicationTests.mm
Expand Up @@ -5,7 +5,7 @@

SPEC_BEGIN(OCUnitApplicationTests)

describe(@"A spec file testing UI", ^ {
describe(@"A spec file testing UI", ^{
it(@"should run", ^{
UILabel *label = [[[UILabel alloc] init] autorelease];
expect([label class]).to(equal([UILabel class]));
Expand Down
22 changes: 11 additions & 11 deletions Spec/SpecSpec.mm
Expand Up @@ -26,7 +26,7 @@ void expectFailure(CDRSpecBlock block) {

SPEC_BEGIN(SpecSpec)

describe(@"Spec", ^ {
describe(@"Spec", ^{
beforeEach(^{
// NSLog(@"=====================> I should run before all specs.");
});
Expand All @@ -35,43 +35,43 @@ void expectFailure(CDRSpecBlock block) {
// NSLog(@"=====================> I should run after all specs.");
});

describe(@"a nested spec", ^ {
describe(@"a nested spec", ^{
beforeEach(^{
// NSLog(@"=====================> I should run only before the nested specs.");
});

afterEach(^ {
afterEach(^{
// NSLog(@"=====================> I should run only after the nested specs.");
});

it(@"should also run", ^ {
it(@"should also run", ^{
// NSLog(@"=====================> Nested spec");
});

it(@"should also also run", ^ {
it(@"should also also run", ^{
// NSLog(@"=====================> Another nested spec");
});
});

context(@"a nested spec (context)", ^ {
context(@"a nested spec (context)", ^{
beforeEach(^{
// NSLog(@"=====================> I should run only before the nested specs.");
});

afterEach(^ {
afterEach(^{
// NSLog(@"=====================> I should run only after the nested specs.");
});

it(@"should also run", ^ {
it(@"should also run", ^{
// NSLog(@"=====================> Nested spec");
});

it(@"should also also run", ^ {
it(@"should also also run", ^{
// NSLog(@"=====================> Another nested spec");
});
});

it(@"should run", ^ {
it(@"should run", ^{
// NSLog(@"=====================> Spec");
});

Expand All @@ -89,7 +89,7 @@ void expectFailure(CDRSpecBlock block) {
});

describe(@"The spec failure exception", ^{
// it(@"should generate a spec failure", ^ {
// it(@"should generate a spec failure", ^{
// [[CDRSpecFailure specFailureWithReason:@"'cuz"] raise];
// });
//
Expand Down
4 changes: 2 additions & 2 deletions Spec/SpecSpec2.m
Expand Up @@ -2,8 +2,8 @@

SPEC_BEGIN(SpecSpec2)

describe(@"A second spec file in the same target", ^ {
it(@"should run", ^ {
describe(@"A second spec file in the same target", ^{
it(@"should run", ^{
// NSLog(@"=====================> Spec 2");
});
});
Expand Down

0 comments on commit 75535b0

Please sign in to comment.