job_spec 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/job_spec/role.rb +2 -2
- data/lib/job_spec/version.rb +1 -1
- 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: 79b602ff7e317683102ed14f53dfc72da480d914
|
4
|
+
data.tar.gz: 241c6303fb7edf5d8801775db56dca4bc10afa93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a17ebcf9168fd3d25d65baf8c598edf6e6b9d44f77e66c6ac60873366070298c611832bb53a7417a7707a1787ab472a0a1aa77672473d221352806dd2ce62ab
|
7
|
+
data.tar.gz: 55a3cd1225e51a0283b99e132ee360e87cd13fec7e7e7c9304f4fd89a1bdf7a1893363efc2edb53cfb9a8184846b0bb0ae1fdbdd244ae179bce22cd068000b23
|
data/lib/job_spec/role.rb
CHANGED
@@ -40,9 +40,9 @@ module JobSpec
|
|
40
40
|
end
|
41
41
|
|
42
42
|
class Expectations
|
43
|
-
def self.expected(expectation)
|
43
|
+
def self.expected(expectation, description = nil)
|
44
44
|
@role ||= Role.new(self.class.name)
|
45
|
-
@role.expected(expectation)
|
45
|
+
@role.expected(expectation, description)
|
46
46
|
end
|
47
47
|
|
48
48
|
def self.to_a
|
data/lib/job_spec/version.rb
CHANGED