motion-momentum 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7bb4234678f577982c6dffb954ddd4619bd0095
|
4
|
+
data.tar.gz: 72617675728c088133de612a48f5d3e0bdf89f9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95ca815da7a9abd58e3f0ba594b5017bf3372696e4402f93d3906bbb5b98afd10c07aede3974cdd3e91245a9bb48d099c2a6049a839d303dd0b7ab2ba5ab7f46
|
7
|
+
data.tar.gz: cb76b47b63ff7906f39e3691264a7b8b83b0886c146b713cd3d44c8eeef4e2ea47b7f64975dc83e9a8629fe03846ab18830652efa4defceb2df6865338af496f
|
@@ -43,7 +43,7 @@ describe Momentum::ViewController do
|
|
43
43
|
|
44
44
|
it "calls setup if it's defined when the view appears" do
|
45
45
|
CallbackHelper.shared.data[:setup_called] = false
|
46
|
-
@vc.
|
46
|
+
@vc.viewDidLoad
|
47
47
|
CallbackHelper.shared.data[:setup_called].should == true
|
48
48
|
end
|
49
49
|
|
@@ -52,7 +52,7 @@ describe Momentum::ViewController do
|
|
52
52
|
end
|
53
53
|
|
54
54
|
it "will still use the title instance variable though" do
|
55
|
-
@vc.
|
55
|
+
@vc.viewDidLoad
|
56
56
|
@vc.title.should == "Custom"
|
57
57
|
end
|
58
58
|
|
@@ -63,7 +63,7 @@ describe Momentum::ViewController do
|
|
63
63
|
before { @vc = NoSetupMockController.new }
|
64
64
|
|
65
65
|
it "does not call setup if it's not defined when the view appears" do
|
66
|
-
lambda { @vc.
|
66
|
+
lambda { @vc.viewDidLoad }.should.not.raise(NoMethodError)
|
67
67
|
end
|
68
68
|
|
69
69
|
it "will return nil with no class title or title instance variable" do
|