Require spec helper before running tests
This commit is contained in:
parent
174869a910
commit
5257c7dfd3
1
Rakefile
1
Rakefile
|
@ -6,6 +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.pattern = "./test_app/spec/**/*_spec.rb"
|
task.pattern = "./test_app/spec/**/*_spec.rb"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue