coolerator.vision 0.2.2 → 0.2.3
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.3
|
data/coolerator.vision.gemspec
CHANGED
@@ -5,5 +5,18 @@ Screw.Unit(function(c) { with(c) {
|
|
5
5
|
it("is added to the Coolerator namespace", function() {
|
6
6
|
expect(typeof Coolerator.Filter).to(equal, 'function');
|
7
7
|
});
|
8
|
+
|
9
|
+
context("when created with a configuration object", function() {
|
10
|
+
context("when the configuration contains a :label", function() {
|
11
|
+
var filter = new Coolerator.Filter({
|
12
|
+
label : 'so cool!',
|
13
|
+
scope : 'everywhere'
|
14
|
+
});
|
15
|
+
|
16
|
+
it("is created with a label", function() {
|
17
|
+
expect(Coolerator.Filters.get('everywhere')[0].label).to(equal, 'so cool!');
|
18
|
+
});
|
19
|
+
});
|
20
|
+
});
|
8
21
|
});
|
9
22
|
}});
|