Initial commit
This commit is contained in:
commit
2b564cb203
28 files changed
+1148
No files matched your search
@@ -0,0 +1,48 @@
|
||||
//
|
||||
// GradientButtonTests.m
|
||||
// GradientButtonTests
|
||||
//
|
||||
// Created by Giuseppe Nucifora on 01/11/2016.
|
||||
// Copyright (c) 2016 Giuseppe Nucifora. All rights reserved.
|
||||
//
|
||||
|
||||
// https://github.com/Specta/Specta
|
||||
|
||||
SpecBegin(InitialSpecs)
|
||||
|
||||
describe(@"these will fail", ^{
|
||||
|
||||
it(@"can do maths", ^{
|
||||
expect(1).to.equal(2);
|
||||
});
|
||||
|
||||
it(@"can read", ^{
|
||||
expect(@"number").to.equal(@"string");
|
||||
});
|
||||
|
||||
it(@"will wait for 10 seconds and fail", ^{
|
||||
waitUntil(^(DoneCallback done) {
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe(@"these will pass", ^{
|
||||
|
||||
it(@"can do maths", ^{
|
||||
expect(1).beLessThan(23);
|
||||
});
|
||||
|
||||
it(@"can read", ^{
|
||||
expect(@"team").toNot.contain(@"I");
|
||||
});
|
||||
|
||||
it(@"will wait and succeed", ^{
|
||||
waitUntil(^(DoneCallback done) {
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
SpecEnd
|
||||
|
||||
Reference in new issue
Block a user