coolerator.vision 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/coolerator.vision.gemspec
CHANGED
@@ -1,9 +1,22 @@
|
|
1
1
|
//= require <support/spec_helper>
|
2
2
|
|
3
3
|
Screw.Unit(function(c) { with(c) {
|
4
|
+
describe("Coolerator.Views", function() {
|
5
|
+
it("is added to the Coolerator namespace", function() {
|
6
|
+
expect(Coolerator.Views).to_not(be_undefined);
|
7
|
+
});
|
8
|
+
|
9
|
+
describe("when creating a Coolerator.View", function() {
|
10
|
+
it("the View is added to the collection", function() {
|
11
|
+
var view = new Coolerator.View('oh, behave!');
|
12
|
+
expect(Coolerator.Views['oh, behave!']).to(equal, view);
|
13
|
+
});
|
14
|
+
});
|
15
|
+
});
|
16
|
+
|
4
17
|
describe("Coolerator.View", function() {
|
5
18
|
it("is added to the Coolerator namespace", function() {
|
6
|
-
expect(
|
19
|
+
expect(Coolerator.View).to_not(be_undefined);
|
7
20
|
});
|
8
21
|
|
9
22
|
describe("collection", function() {
|