rspec-expect_error 0.0.3 → 0.0.4

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: 7a52ad3f3b69022f580aec86e97f9da2dc51d15b
4
- data.tar.gz: f58190e26ba50e56fde01c45c9613721154e765f
3
+ metadata.gz: ef44ec599bc0377fe001c18cba361bed4bf133ff
4
+ data.tar.gz: 4d9f73ef4770e86619c2def9a14d15bee7664278
5
5
  SHA512:
6
- metadata.gz: 73447782f678e0e8f3cf3d2439881ca154c67a930efb8d87328863b17c4d5fe43ff794f8564678c1edc9d55b5207f0040f4187ac25f98d06095fc6e6b9473d9d
7
- data.tar.gz: 35903114712d73ad100af598a63c87050c486143868929c4fb11333474132400d85bbd568c664856de38bdebedbc6bb3d67a3e6824d78e8e6f6bb85da58f5fd4
6
+ metadata.gz: 6f5427cf457d62ecf4b33911c2132653ebd7b87f5a037af72498f853e6cac3348cb1ed725e11d9e965119f1aba4ce7aaf43fa3f6f711aa756c65e63e92df0dc0
7
+ data.tar.gz: c17224174fc247c044f99a3b023db373874ebe795ba6b48cd850b58616ee7dcd0415fbb84abd3c09ba469738d5ce30ca468a65dd32c11390ad35f7796ede9ee4
@@ -5,6 +5,10 @@ module RSpec
5
5
  def expect_error(error = nil, &block)
6
6
  error ? expect { yield }.to(raise_error(error)) : expect { yield }.to(raise_error)
7
7
  end
8
+
9
+ def expect_no_error(&block)
10
+ expect { yield }.not_to raise_error
11
+ end
8
12
  end
9
13
  end
10
14
 
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module ExpectError
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-expect_error
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordon Bedwell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-02 00:00:00.000000000 Z
11
+ date: 2013-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec