Skip to content

Commit

Permalink
Really fixing old RSpec compat problem
Browse files Browse the repository at this point in the history
  • Loading branch information
George Malamidis committed Dec 11, 2008
1 parent 65e8de2 commit e8dfa4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/synthesis/adapter/rspec.rb
Expand Up @@ -8,15 +8,15 @@ module Synthesis
class RSpecAdapter < Adapter
def run
fail_unless do
rspec_options = begin
rspec_opts = begin
Spec::Runner.options
rescue
rspec_options
end

rspec_options.files.clear
rspec_options.instance_variable_set(:@formatters, nil)
rspec_options.run_examples
rspec_opts.files.clear
rspec_opts.instance_variable_set(:@formatters, nil)
rspec_opts.run_examples
# Synthesis.rspec_runner_options.instance_variable_set(:@format_options, [["profile", STDOUT]])
end
end
Expand Down
2 changes: 1 addition & 1 deletion synthesis.gemspec
@@ -1,6 +1,6 @@
GEMSPEC =Gem::Specification.new do |s|
s.name = 'synthesis'
s.version = '0.2.4'
s.version = '0.2.5'
s.platform = Gem::Platform::RUBY
s.rubyforge_project = "synthesis"
s.summary, s.description = 'A tool for Synthesized Testing'
Expand Down

0 comments on commit e8dfa4a

Please sign in to comment.