Fix rcov #229

Merged
merged 2 commits into from Dec 28, 2012
View
1 Rakefile
@@ -53,6 +53,7 @@ begin
RSpec::Core::RakeTask.new( :rcov ) do | spec |
spec.pattern = "spec/**/*_spec.rb"
spec.rcov = true
+ spec.rcov_opts = [ "-x", "gems" ]
end
rescue LoadError
$stderr.puts $!.to_s
View
1 spec/spec_helper.rb
@@ -25,6 +25,7 @@
require "rubygems"
require "rspec"
+require "rspec/autorun"
require "trema"
require "trema/dsl/configuration"
require "trema/dsl/context"