Permalink
Browse files

fix typo on Control spec names

  • Loading branch information...
1 parent 4a41da9 commit babd0acf12c1bf1833eb5efabe98357962dfc277 @mephux committed Apr 8, 2011
Showing with 10 additions and 10 deletions.
  1. +1 −1 lib/pidly/callbacks.rb
  2. +1 −1 lib/pidly/control.rb
  3. +1 −1 lib/pidly/logger.rb
  4. +1 −1 lib/pidly/version.rb
  5. +5 −5 spec/control_spec.rb
  6. +1 −1 spec/pidly_spec.rb
View
@@ -138,4 +138,4 @@ def self.included(receiver)
end # modle Callbacks
-end # module Pidly
+end # module Pidly
View
@@ -370,4 +370,4 @@ def fetch_pid
end # class Control
-end # module Pidly
+end # module Pidly
View
@@ -46,4 +46,4 @@ def self.included(receiver)
end # class Logger
-end # module Pidly
+end # module Pidly
View
@@ -1,4 +1,4 @@
module Pidly
# pidly version
VERSION = "0.1.3"
-end
+end
View
@@ -58,19 +58,19 @@
file.read.should =~ /#{@daemon.pid}/
end
- it "should not have a start callback defined" do
+ it "should have a start callback defined" do
test_callback(:start, true).should == true
end
- it "should not have a stop callback defined" do
+ it "should have a stop callback defined" do
test_callback(:stop).should == "Attempting to kill process: "
end
- it "should not have a before_start callback defined" do
+ it "should have a before_start callback defined" do
test_callback(:before_start).should == "BEFORE START "
end
- it "should not have a after_stop callback defined" do
+ it "should have a after_stop callback defined" do
test_callback(:after_stop).should == :test_after_daemon_stops
end
@@ -89,4 +89,4 @@
end
end
-end
+end
View
@@ -5,4 +5,4 @@
it "should have a VERSION constant" do
subject.const_get('VERSION').should_not be_empty
end
-end
+end

0 comments on commit babd0ac

Please sign in to comment.