Skip to content

Commit

Permalink
Make sure mini_portile2 is loaded from source directory for 'rake tes…
Browse files Browse the repository at this point in the history
…t:unit'
  • Loading branch information
larskanis committed Nov 17, 2015
1 parent d4608a2 commit f15b942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -4,7 +4,7 @@ require 'bundler/gem_tasks'
namespace :test do
desc "Test MiniPortile by running unit tests"
task :unit do
sh "ruby -w -W2 -I. -e \"#{Dir["test/test_*.rb"].map{|f| "require '#{f}';"}.join}\" -- -v"
sh "ruby -w -W2 -I.:lib -e \"#{Dir["test/test_*.rb"].map{|f| "require '#{f}';"}.join}\" -- -v"
end

desc "Test MiniPortile by compiling examples"
Expand Down

0 comments on commit f15b942

Please sign in to comment.