eetee 0.0.6 → 0.0.7

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: e4b2c9eab314d3f8a4dd45949b7f8aa0b934476a
4
- data.tar.gz: 2b32b754c00d1153244e0fe6548c5d34de566f4f
3
+ metadata.gz: 09dd13c6b015aa56a24e0ad21532a8d53436c7fd
4
+ data.tar.gz: c0570ffaec6070285c59b8b740d371bbc4e3cbab
5
5
  SHA512:
6
- metadata.gz: 0d2ca7efbb7d4b6495c44325c2c42359ac3b8f18e94b808e23d0e9b91f0a83ef9cc94361f16cb3c41957aab5ad33a1661cc712925b5a2be8d461134208b08c9f
7
- data.tar.gz: 4854871ebc881c8042bfbf75f5016f7112c2f87c37ac70cddd7c3ea8ce3320090197cbec768e76ffa978d67ed64cd90f3e652cb6c65aa6d2d5549b0cced814ee
6
+ metadata.gz: 1f4334cd6a783ea34af6f3e577daf4332ffb5dfc7ef0b2c86ce2bf2b7c25c964d4f75ae4fa0b71a6fdbd785fc7c2b4d7fb2c06d384e79d083661853b6ca9f6af
7
+ data.tar.gz: 9fca6813fc485d4cb7a4603761a922563f318ee991b474c78355a2beff14755cb4766cbd75806fbff386b2bcfc3293e375e3bfb25bee1107c5bb26a85ae7e058
@@ -23,8 +23,10 @@ module EEtee
23
23
  err = ex
24
24
  end
25
25
 
26
+ fail_message = err ? "#{err.class} (#{err.message})" : "no error"
27
+
26
28
  invert_helper(
27
- "expected to raise #{error_class}, got #{err.class} (#{err.message})",
29
+ "expected to raise #{error_class}, got #{fail_message}",
28
30
  "expected not to raise #{error_class} (#{err.message})"
29
31
  ) do
30
32
  err.class.should == error_class
data/lib/eetee/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module EEtee
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eetee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Ammous
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-10 00:00:00.000000000 Z
11
+ date: 2013-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: term-ansicolor