Sha256: f0e017103230b1c6384462665ca13fd9ca07eb6113079b49e480a96c17a3e857
Contents?: true
Size: 580 Bytes
Versions: 4
Compression:
Stored size: 580 Bytes
Contents
require 'spec_helper' describe NginxTail::Application do %w{ exit running interrupted }.each do |option| it "should respond to #{option} option method" do NginxTail::Application.new.should respond_to(option.to_sym) end end it "has a default 'exit' value of 0" do NginxTail::Application.new.exit.should eq(0) end it "has a default 'running' value of true" do NginxTail::Application.new.running.should eq(true) end it "has a default 'interrupted' value of false" do NginxTail::Application.new.interrupted.should eq(false) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ntail-1.0.0 | spec/application_spec.rb |
ntail-0.2.0 | spec/application_spec.rb |
ntail-0.1.0 | spec/application_spec.rb |
ntail-0.0.12 | spec/application_spec.rb |