Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix formatting of specs in yardoc_task_spec.rb

  • Loading branch information...
commit bc2749792a301d5fd3b97108416c35e427edbc51 1 parent c7eaa97
Loren Segal authored
Showing with 19 additions and 19 deletions.
  1. +19 −19 spec/rake/yardoc_task_spec.rb
38 spec/rake/yardoc_task_spec.rb
View
@@ -65,28 +65,28 @@ def run
YARD::Rake::YardocTask.new {|t| t.after = proc }
run
end
+ end
- describe '#verifier' do
- it "should allow a verifier proc to be set" do
- verifier = Verifier.new
- @yardoc.should_receive(:run) do
- @yardoc.options[:verifier].should == verifier
- end
- YARD::Rake::YardocTask.new {|t| t.verifier = verifier }
- run
+ describe '#verifier' do
+ it "should allow a verifier proc to be set" do
+ verifier = Verifier.new
+ @yardoc.should_receive(:run) do
+ @yardoc.options[:verifier].should == verifier
end
+ YARD::Rake::YardocTask.new {|t| t.verifier = verifier }
+ run
+ end
- it "should override --query options" do
- verifier = Verifier.new
- @yardoc.should_receive(:run) do
- @yardoc.options[:verifier].should == verifier
- end
- YARD::Rake::YardocTask.new do |t|
- t.options += ['--query', '@return']
- t.verifier = verifier
- end
- run
+ it "should override --query options" do
+ verifier = Verifier.new
+ @yardoc.should_receive(:run) do
+ @yardoc.options[:verifier].should == verifier
end
+ YARD::Rake::YardocTask.new do |t|
+ t.options += ['--query', '@return']
+ t.verifier = verifier
+ end
+ run
end
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.