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.
- data/lib/henry/container/version.rb +1 -1
- data/lib/henry/task/rspec_task.rb +6 -5
- metadata +1 -1
@@ -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
|
|