gmalamid-synthesis 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/synthesis/adapter/rspec.rb +4 -4
- data/synthesis.gemspec +1 -1
- metadata +1 -1
@@ -8,15 +8,15 @@ module Synthesis
|
|
8
8
|
class RSpecAdapter < Adapter
|
9
9
|
def run
|
10
10
|
fail_unless do
|
11
|
-
|
11
|
+
rspec_opts = begin
|
12
12
|
Spec::Runner.options
|
13
13
|
rescue
|
14
14
|
rspec_options
|
15
15
|
end
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
rspec_opts.files.clear
|
18
|
+
rspec_opts.instance_variable_set(:@formatters, nil)
|
19
|
+
rspec_opts.run_examples
|
20
20
|
# Synthesis.rspec_runner_options.instance_variable_set(:@format_options, [["profile", STDOUT]])
|
21
21
|
end
|
22
22
|
end
|
data/synthesis.gemspec
CHANGED