shoulda-context 1.1.3 → 1.1.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: 41b60644837ba1b4d4168e7bdab013f4bc834e67
4
- data.tar.gz: d9a1a81ea9625b792003edd12afcd6f6f7eacb9f
3
+ metadata.gz: f91446f23aa8d8ce92e1f8863c22269c40106b18
4
+ data.tar.gz: 1d8a6b51784a42a63f7843b63901ac510e64caa9
5
5
  SHA512:
6
- metadata.gz: 57eb54533d9edb1aca3f479e1e516f2625706294e53fe164e6779f7f6c7e177fa0b4267a20151e4a122dfe834d24dfdcdeea5702da1d379ef1293d6035dc8e10
7
- data.tar.gz: 33ab273a78b588d99b4d34e5b09bee1ab2068f2157e3883edea8f4b8fa1c24b14d01c3cbb1debe8b82c8a0597ced79922d3efc79d0ab9b5bfb414af581e9be41
6
+ metadata.gz: d0d5682d31984c00259a0bbfec60290bea0979b4515eace8970a988148cdc07e6a743cffa9473ec82d813ef7405e36f734f4a5d313a70340b2dc0f0e3a5eccc3
7
+ data.tar.gz: 54ec43d1e9906a571f0040e9629f3a5d4a05ab5dbab59ba85a9ef240176b2158af3e29d54723732a84ac3beffdbfc3aa5d59c1bdb01c1199cd7a7dcd72be9a34
@@ -84,7 +84,7 @@ module Shoulda # :nodoc:
84
84
  end
85
85
  end
86
86
 
87
- def safe_assert_block(message = nil, &block)
87
+ def safe_assert_block(message = "assert_block failed.", &block)
88
88
  if respond_to?(:assert_block)
89
89
  assert_block message, &block
90
90
  else
@@ -1,5 +1,5 @@
1
1
  module Shoulda
2
2
  module Context
3
- VERSION = '1.1.3'.freeze
3
+ VERSION = '1.1.4'.freeze
4
4
  end
5
5
  end
@@ -160,9 +160,6 @@ class ShouldTest < Test::Unit::TestCase # :nodoc:
160
160
  should "dup" do; end
161
161
  should "dup" do; end
162
162
  end
163
-
164
- names = context.shoulds.map {|s| s[:name]}
165
- assert_equal 1, names.uniq.length
166
163
  assert_raise DuplicateTestError do
167
164
  context.build
168
165
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoulda-context
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoughtbot, inc.
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2013-06-21 00:00:00.000000000 Z
16
+ date: 2013-06-26 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: appraisal