Skip to content

Commit

Permalink
reorder tests
Browse files Browse the repository at this point in the history
  • Loading branch information
attilaolah committed Jun 29, 2014
1 parent e407548 commit 0c85fbc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
20 changes: 10 additions & 10 deletions spec/coffeescripts/wow-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ describe 'WOW', ->
# Height of the PhantomJS window:
winHeight = 300

describe 'smoke test', ->

it 'exists', ->
expect WOW
.toBeDefined()

it "has an 'init' method", ->
expect new WOW().init
.toBeDefined()

describe 'simple test environment', ->

beforeEach ->
Expand Down Expand Up @@ -55,16 +65,6 @@ describe 'WOW', ->
expect style.color
.toBe 'red'

describe 'library smoke test', ->

it 'exists', ->
expect WOW
.toBeDefined()

it "has an 'init' method", ->
expect new WOW().init
.toBeDefined()

describe 'library behaviour', ->

wow = null
Expand Down
16 changes: 8 additions & 8 deletions spec/javascripts/wow-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
};
timeout = 100;
winHeight = 300;
describe('smoke test', function() {
it('exists', function() {
return expect(WOW).toBeDefined();
});
return it("has an 'init' method", function() {
return expect(new WOW().init).toBeDefined();
});
});
describe('simple test environment', function() {
beforeEach(function() {
return loadFixtures('simple.html');
Expand Down Expand Up @@ -34,14 +42,6 @@
return expect(style.color).toBe('red');
});
});
describe('library smoke test', function() {
it('exists', function() {
return expect(WOW).toBeDefined();
});
return it("has an 'init' method", function() {
return expect(new WOW().init).toBeDefined();
});
});
describe('library behaviour', function() {
var wow;
wow = null;
Expand Down

0 comments on commit 0c85fbc

Please sign in to comment.