henry-container 0.0.24 → 0.0.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module Henry
3
3
  class Container
4
4
 
5
5
  # Current Gem version
6
- VERSION = '0.0.24'
6
+ VERSION = '0.0.25'
7
7
 
8
8
  end
9
9
 
@@ -7,11 +7,6 @@ module Henry
7
7
 
8
8
  # The Henry Task implementation for Rspec
9
9
  class RspecTask < Task
10
-
11
- # Makes available the spec rake task.
12
- RSpec::Core::RakeTask.new do |t|
13
- t.rspec_opts = '--out rspec.out --format documentation --color'
14
- end
15
10
 
16
11
  # Executes the CucumberTask and returns its results.
17
12
  #
@@ -21,6 +16,12 @@ module Henry
21
16
  File.open('rspec.out', 'w') { |f| }
22
17
 
23
18
  # tail_pid = Process.spawn('tail -f rspec.out')
19
+
20
+ # Makes available the spec rake task.
21
+ RSpec::Core::RakeTask.new do |t|
22
+ t.pattern = self.data['pattern'] || '*'
23
+ t.rspec_opts = '--out rspec.out'
24
+ end
24
25
 
25
26
  Rake.application['spec'].invoke
26
27
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: henry-container
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.24
4
+ version: 0.0.25
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: