mvcli 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mvcli/actions.rb +1 -0
- data/lib/mvcli/version.rb +1 -1
- data/spec/mvcli/actions_spec.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6824dd7970a2422da62ebac790697827af7493b
|
4
|
+
data.tar.gz: e7e26c779892ddbc361db8e69d78e4c88f3a2c5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74431de1c5cb00bc2f51d87a10fe407696b8449a1071a28f16039f8ece375ec05ab360eee2a49e819b9b40f1c26fb7af0ebfc9a9a54c7af025c5a436bc45d705
|
7
|
+
data.tar.gz: 82af2de453863e0f74871bb61a83db8305e5a0bb638c805e2443c42dbca506399a53e2ec9bb80f428af8dc9b0e85358f3b1c14e16f851c23f3e04239b514021e
|
data/lib/mvcli/actions.rb
CHANGED
data/lib/mvcli/version.rb
CHANGED
data/spec/mvcli/actions_spec.rb
CHANGED
@@ -26,4 +26,9 @@ describe "MVCLI::Actions" do
|
|
26
26
|
Then {controller.should have_received(:bar)}
|
27
27
|
And {renderer.should have_received(:render).with(output, 'foo/bar', 'the context')}
|
28
28
|
end
|
29
|
+
|
30
|
+
context "when the action is callable" do
|
31
|
+
Given(:app) { ->(c) {} }
|
32
|
+
Then { actions[app] == app }
|
33
|
+
end
|
29
34
|
end
|