Sha256: 25bc995904531166efc7ee021b28f4d766590c6d78e1b78b631c5387936afd65

Contents?: true

Size: 690 Bytes

Versions: 17

Compression:

Stored size: 690 Bytes

Contents

// 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

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
ykioscmd-0.6.7 lib/yk_command/project/test_examples/specta.m
ykioscmd-0.6.6 lib/yk_command/project/test_examples/specta.m
yk_command-0.6.5 lib/yk_command/project/test_examples/specta.m
yk_command-0.6.4 lib/yk_command/project/test_examples/specta.m
yk_command-0.6.2 lib/yk_command/project/test_examples/specta.m
yk_command-0.6.1 lib/yk_command/project/test_examples/specta.m
yk_command-0.6.0 lib/yk_command/project/test_examples/specta.m
yk_command-0.5.91 lib/yk_command/project/test_examples/specta.m
yk_command-0.5.9 lib/yk_command/project/test_examples/specta.m
yk_command-0.5.8 lib/yk_command/project/test_examples/specta.m
yk_command-0.5.7 lib/yk_command/project/test_examples/specta.m
yk_command-0.5.6 lib/yk_command/project/test_examples/specta.m
yk_command-0.5.5 lib/yk_command/project/test_examples/specta.m
yk_command-0.5.4 lib/yk_command/project/test_examples/specta.m
yk_command-0.5.3 lib/yk_command/project/test_examples/specta.m
yk_command-0.5.2 lib/yk_command/project/test_examples/specta.m
yk_command-0.5.1 lib/yk_command/project/test_examples/specta.m