Add spec directory to $LOAD_PATH
This commit is contained in:
parent
5257c7dfd3
commit
35e6f80277
2
Rakefile
2
Rakefile
|
@ -6,7 +6,7 @@ require 'rspec/core/rake_task'
|
||||||
Bundler::GemHelper.install_tasks
|
Bundler::GemHelper.install_tasks
|
||||||
|
|
||||||
RSpec::Core::RakeTask.new do |task|
|
RSpec::Core::RakeTask.new do |task|
|
||||||
task.rspec_opts = "-r ./test_app/spec/spec_helper.rb"
|
task.rspec_opts = "-I ./test_app/spec"
|
||||||
task.pattern = "./test_app/spec/**/*_spec.rb"
|
task.pattern = "./test_app/spec/**/*_spec.rb"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue