2017-07-06 05:25:40 +02:00
|
|
|
control "rails_service" do
|
|
|
|
title "Rails Service"
|
|
|
|
desc "Check if Rails service is correctly installed. Setup script available at /scripts/installs/install_rails_service.bat"
|
|
|
|
|
|
|
|
describe file('C:\\Program Files\\Rails_Server\\Gemfile') do
|
|
|
|
it { should exist }
|
|
|
|
end
|
|
|
|
|
|
|
|
describe file('C:\\Program Files\\Rails_Server\\start_rails_server.bat') do
|
|
|
|
it { should exist }
|
|
|
|
end
|
|
|
|
|
2017-07-19 14:32:59 +02:00
|
|
|
describe port('3000') do
|
|
|
|
it { should be_listening }
|
2017-07-06 05:25:40 +02:00
|
|
|
end
|
|
|
|
|
2017-07-19 14:32:59 +02:00
|
|
|
describe windows_task('rails') do
|
|
|
|
it { should exist }
|
|
|
|
it { should be_enabled }
|
2017-07-06 05:25:40 +02:00
|
|
|
end
|
|
|
|
end
|