rspec_in_context 0.1.4 → 0.1.5

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: fbcbbb133cada94f2a4aa5531f35d138cfe5e585
4
- data.tar.gz: be6564c7b36a380a104e487bbb8e6e58b215a6e4
3
+ metadata.gz: 79e623cca533412847e5cfa295efcf09c07013aa
4
+ data.tar.gz: '039f464399eeb81e60b8ee82c81b0f943e4691d8'
5
5
  SHA512:
6
- metadata.gz: '028a5a028a135be2c3403109aba620a8cb8b72c5371caebd9a89c9ba97beec5b94f739b3e2b5ea1e631c5ab8867961953ed29ddb64554a8f62a0f5e9d27fb70f'
7
- data.tar.gz: 5fc71b2076fbc9836032f5764d4a0d1904d5ae03a7bb17d78b3365516e93ef7ee5cb9e27cf93ac6099cc16aadf04be26be0451faa78d691da7eea29d8f776adc
6
+ metadata.gz: 8dd6e58537b886f938111cdf3679060599d15b6b20fd6388317f1577504fdcb0db2f5d57a55fa7f36caa58e6ddb18c59b779aa89abf5de37fc85070eeccec851
7
+ data.tar.gz: c2ba4a408f479f43933a0bc4e8bacdf5634ee972307bed10eec548a27e7b3399440c3d7f40c9ea6451232c628d18c1fb3136d6d853e1f89f12deb1fa18116011
@@ -34,10 +34,8 @@ module RspecInContext
34
34
  module ClassMethods
35
35
  def in_context(context_name, *args, &block)
36
36
  Thread.current[:test_block] = block
37
- instance_exec do
38
- context(context_name) do
39
- instance_exec(*args, &InContext.find_context(context_name).block)
40
- end
37
+ context(context_name.to_s) do
38
+ instance_exec(*args, &InContext.find_context(context_name).block)
41
39
  end
42
40
  end
43
41
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RspecInContext
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_in_context
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis <Zaratan> Pasin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-01 00:00:00.000000000 Z
11
+ date: 2018-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport