Skip to content

Commit caf707a

Browse files
committed
do not build docs when running test task
1 parent 212ef25 commit caf707a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Rakefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ namespace :docs do
131131
end
132132

133133
task :all_tests do
134+
ENV["RAILS_ENV"] = "test"
135+
134136
if ENV["MEASURE_COVERAGE"]
135137
SimpleCov.start do
136138
command_name "RSpec-rails#{Rails::VERSION::STRING}-ruby#{RUBY_VERSION}"

0 commit comments

Comments
 (0)