Browse files

Merge pull request #8 from mattdbridges/master

removing deprecated method tests
  • Loading branch information...
2 parents 5298cda + a5c55cb commit 1b2bb927524a82e1bfecaccdb5035ba79a59e8d2 @cpjolicoeur committed Jun 12, 2012
Showing with 1 addition and 12 deletions.
  1. +1 −0 lib/guard/annotate.rb
  2. +0 −12 spec/guard/annotate_spec.rb
View
1 lib/guard/annotate.rb
@@ -1,6 +1,7 @@
# encoding: utf-8
require 'guard'
require 'guard/guard'
+require 'guard/version'
module Guard
class Annotate < Guard
View
12 spec/guard/annotate_spec.rb
@@ -146,18 +146,6 @@
end
end
- context "run_on_change" do
- it "should run annotate command" do
- subject.should_receive(:system).with("bundle exec annotate --exclude tests,fixtures -p before")
- subject.run_on_change
- end
-
- it "should return false if annotate command fails" do
- subject.should_receive(:system).with("bundle exec annotate --exclude tests,fixtures -p before").and_return(false)
- subject.run_on_change.should be_false
- end
- end
-
# For Guard 1.1. #run_on_change is deprecated
context "run_on_changes" do
it "should run annotate command" do

0 comments on commit 1b2bb92

Please sign in to comment.