We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b7958b commit afa7533Copy full SHA for afa7533
Rakefile
@@ -28,12 +28,11 @@ Jeweler::RubygemsDotOrgTasks.new
28
require 'rspec/core'
29
require 'rspec/core/rake_task'
30
RSpec::Core::RakeTask.new(:spec) do |spec|
31
- spec.pattern = FileList['spec/**/*_spec.rb']
32
-end
33
-
34
-RSpec::Core::RakeTask.new(:rcov) do |spec|
35
- spec.pattern = 'spec/**/*_spec.rb'
36
- spec.rcov = true
+ spec.pattern = FileList['spec/**/*_spec.rb'].sort_by do|n|
+ # we need to run post_rails_init_spec as the latest
+ # because it cause unrevertable changes to runtime
+ n.include?("post_rails_init_spec") ? 1 : 0
+ end
37
end
38
39
task :default => :spec
0 commit comments