rspec-expect_error 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec/expect_error.rb +1 -1
- data/lib/rspec/expect_error/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: 55cf0ec348b294fa5a7c5fb1ad24a8b01b4dbca2
|
4
|
+
data.tar.gz: 5adce4d068614e7fa6459c210db9d817230fbbb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bb777f421bd00c8731fc0520653a18bae06dda32667769581247977ad0e15568e31b244c8803913d5fbb3e9ecb0adcce22b5db3edf1e6bfb2ad6722e5e716ac
|
7
|
+
data.tar.gz: 2ee201bf082d888bfde62df88c6e8b60e02f4e70e39b8cf4e5a1893d224218ed5b3874221a1f724501e745b227932bcdb3b13b28795c8eb12f71f240b2e2900c
|
data/lib/rspec/expect_error.rb
CHANGED
@@ -8,7 +8,7 @@ module RSpec
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def expect_no_error(error = nil, &block)
|
11
|
-
error ? expect { yield }.not_to(raise_error(error))
|
11
|
+
error ? expect { yield }.not_to(raise_error(error)) : expect { yield }.not_to(raise_error)
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|