Skip to content

Commit

Permalink
Remove check for activesupport in activesupport
Browse files Browse the repository at this point in the history
tests - this is interfering with spec runs
that shouldn't need activesupport.
(Check isn't needed anyway)
  • Loading branch information
mmzyk committed Feb 9, 2012
1 parent 64f5dd0 commit 67aded4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions chef/tasks/rspec.rb
Expand Up @@ -41,14 +41,6 @@

desc "Run the rspec tests with activesupport loaded"
RSpec::Core::RakeTask.new(:spec_activesupport) do |t|
#require activesupport to make sure it is on the system and fail early if not found
#this has no affect on rspec, which still has to load it itself
begin
require 'active_support/core_ext'
rescue LoadError
raise "ActiveSupport not found on system, it is needed to run these tests"
end

t.rspec_opts = ['--options', "\"#{CHEF_ROOT}/.rspec\"", "--require active_support/core_ext"]
t.pattern = FileList['spec/unit/**/*_spec.rb']
end
Expand Down

0 comments on commit 67aded4

Please sign in to comment.