diff --git a/.rspec b/.rspec new file mode 100644 index 000000000..dd90eb63e --- /dev/null +++ b/.rspec @@ -0,0 +1,2 @@ +--require ./hearth/spec/spec_helper +-I ./hearth/lib \ No newline at end of file diff --git a/tasks/test.rake b/tasks/test.rake index aa935158b..696919453 100644 --- a/tasks/test.rake +++ b/tasks/test.rake @@ -3,9 +3,7 @@ namespace :test do desc 'Run specs in hearth' task 'hearth' do - Dir.chdir('hearth') do - sh('bundle exec rspec -I lib') - end + sh('bundle exec rspec hearth/spec -I hearth/lib') end desc 'Run generated and hand written specs for the white_label sdk'