Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Commit

Permalink
Fix spec target so that it works from command-line.
Browse files Browse the repository at this point in the history
  • Loading branch information
leftathome committed Aug 29, 2013
1 parent aa4530c commit aee3173
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ rescue LoadError
end

require 'rspec/core/rake_task'
ENV['TRAVIS_BUILD_DIR'] = "." unless ENV.has_key?('TRAVIS_BUILD_DIR')
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.rspec_opts = [ '-I', 'lib', '-I', 'spec' ]
spec.pattern = FileList['spec/**/*_spec.rb']
Expand Down

0 comments on commit aee3173

Please sign in to comment.