Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Only exclude production from generating docs. Allows staging, demo, e…

…tc. to have docs generated on them
  • Loading branch information...
commit 7c52761b8c5abd1346f59a8a323a91a3acf489f5 1 parent 07476ff
@pivotal-move pivotal-move authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/tasks/docs.rake
View
2  lib/tasks/docs.rake
@@ -1,6 +1,6 @@
require 'rspec/core/rake_task'
-if Rails.env.test? || Rails.env.development?
+unless Rails.env.production?
desc 'Generate API request documentation from API specs'
RSpec::Core::RakeTask.new('docs:generate') do |t|
t.pattern = 'spec/acceptance/**/*_spec.rb'
Please sign in to comment.
Something went wrong with that request. Please try again.