rspec-expect_error 0.0.2 → 0.0.3

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: bbf8f5a2398304e3203f1e143684812e34281b8e
4
- data.tar.gz: 207f151f2227bbbcc7fc6577adf64063ad45bcd6
3
+ metadata.gz: 7a52ad3f3b69022f580aec86e97f9da2dc51d15b
4
+ data.tar.gz: f58190e26ba50e56fde01c45c9613721154e765f
5
5
  SHA512:
6
- metadata.gz: 58d7d2e8b9ece88a236ed8c3f943ebb42f70a039443b8c28820682bc9a71a5ca5d035e3624a15a8d91a3e24f486ea2ec6c84d93480ba8990e70cbc818a80b748
7
- data.tar.gz: e0ab80899bb6073d39ce064682b64e96080ed43e34e8d1ca06ed7995e11ab995c3a76a86925e739dd514fb2725958787151f7f1369887b924edb6fca24b1346f
6
+ metadata.gz: 73447782f678e0e8f3cf3d2439881ca154c67a930efb8d87328863b17c4d5fe43ff794f8564678c1edc9d55b5207f0040f4187ac25f98d06095fc6e6b9473d9d
7
+ data.tar.gz: 35903114712d73ad100af598a63c87050c486143868929c4fb11333474132400d85bbd568c664856de38bdebedbc6bb3d67a3e6824d78e8e6f6bb85da58f5fd4
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module ExpectError
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@ require "rspec/expect_error/version"
3
3
  module RSpec
4
4
  module ExpectError
5
5
  def expect_error(error = nil, &block)
6
- expect { yield }.to raise_error error
6
+ error ? expect { yield }.to(raise_error(error)) : expect { yield }.to(raise_error)
7
7
  end
8
8
  end
9
9
  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.2
4
+ version: 0.0.3
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-07-29 00:00:00.000000000 Z
11
+ date: 2013-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec