specstar-controllers 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/specstar/controllers.rb +6 -6
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 307878cf1e13e950b35b328ce0bf7fbe6eb250f4
|
4
|
+
data.tar.gz: 439b8adff7ba7bd37e3ce7646b700c6b39fc5e78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91badea2d8592b29942131730a3498b44acf4ab1d4b3b1871d70ecec2ffcc433badb189726187bbbda5ce81f448f7fd2bc6b740a5608e94909600b31f97cf0de
|
7
|
+
data.tar.gz: 34b50ab2fca0ab630de5f939a5e89d2aeb86bc4cddb6a357aef82567e597368b41cea018796df4a93c9fe510ff653c3ecc664ada44edd8d26a335a45fe19f0c2
|
data/lib/specstar/controllers.rb
CHANGED
@@ -12,7 +12,7 @@ module Specstar
|
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
15
|
-
|
15
|
+
failure_message do |controller|
|
16
16
|
if expected
|
17
17
|
"Expected #{controller.class.name} to have layout '#{expected}'."
|
18
18
|
else
|
@@ -20,7 +20,7 @@ module Specstar
|
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
-
|
23
|
+
failure_message_when_negated do |controller|
|
24
24
|
if expected
|
25
25
|
"Expected #{controller.class.name} not to have layout '#{expected}'."
|
26
26
|
else
|
@@ -70,11 +70,11 @@ module Specstar
|
|
70
70
|
has_skip_before_filter?(controller, filter, @actions)
|
71
71
|
end
|
72
72
|
|
73
|
-
|
73
|
+
failure_message do |controller|
|
74
74
|
"Expected #{controller.class.name} to have a skip before filter '#{filter}'."
|
75
75
|
end
|
76
76
|
|
77
|
-
|
77
|
+
failure_message_when_negated do |controller|
|
78
78
|
"Expected #{controller.class.name} not to have a skip before filter '#{filter}'."
|
79
79
|
end
|
80
80
|
|
@@ -92,11 +92,11 @@ module Specstar
|
|
92
92
|
has_before_filter?(controller, filter, @actions)
|
93
93
|
end
|
94
94
|
|
95
|
-
|
95
|
+
failure_message do |controller|
|
96
96
|
"Expected #{controller.class.name} to have a before filter '#{filter}'."
|
97
97
|
end
|
98
98
|
|
99
|
-
|
99
|
+
failure_message_when_negated do |controller|
|
100
100
|
"Expected #{controller.class.name} not to have a before filter '#{filter}'."
|
101
101
|
end
|
102
102
|
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specstar-controllers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sujoy Gupta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.1'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '3.1'
|
27
27
|
description:
|
28
28
|
email: sujoyg@gmail.com
|
29
29
|
executables: []
|