Sha256: 46331b270994ff2283377107d35ed5c7f0a86d208aa6145cbeeec7e16f88963e

Contents?: true

Size: 1.37 KB

Versions: 7

Compression:

Stored size: 1.37 KB

Contents

require 'spec_helper'

describe ThinService do
  it 'should print version' do
    ThinService::Service.new( ["--version"]).run!
  end
  it 'should print help' do
    ThinService::Service.new( ["--help"]).run!
  end
  it 'should print help too' do
    ThinService::Service.new( ["-h"]).run!
  end
  it 'should fail to remove due to missing name' do
    ThinService::Service.new( ["remove"]).run!
  end
  it 'should print remove help' do
    ThinService::Service.new( ["remove", "-h"]).run!
  end
  it 'should print remove help too' do
    ThinService::Service.new( ["remove", "--help"]).run!
  end
  it 'should fail to install due to missing name' do
    ThinService::Service.new( ["install"]).run!
  end
  it 'should print install help' do
    ThinService::Service.new( ["install", "-h"]).run!
  end
  it 'should print install help too' do
    ThinService::Service.new( ["install", "--help"]).run!
  end
  it 'should fail to install due to no rails app' do
    ThinService::Service.new( ["install", "-N", "test_thin_service"]).run!
  end
  it 'should fail to install due to ' do
    ThinService::Service.new( ["install", "-N", "test_thin_service", "-c", "C:/Users/Owner/Documents/NetBeansProjects/hgcs"]).run!
  end
  it 'should fail to remove due to no rails app' do
    ThinService::Service.new( ["remove", "-N", "test_thin_service"]).run!
  end

  

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
thin_service-0.0.7 spec/thin_service_spec.rb
thin_service-0.0.6 spec/thin_service_spec.rb
thin_service-0.0.5 spec/thin_service_spec.rb
thin_service-0.0.4 spec/thin_service_spec.rb
thin_service-0.0.3 spec/thin_service_spec.rb
thin_service-0.0.2 spec/thin_service_spec.rb
thin_service-0.0.1 spec/thin_service_spec.rb