Permalink
Browse files

Fix formatting of specs in yardoc_task_spec.rb

  • Loading branch information...
1 parent c7eaa97 commit bc2749792a301d5fd3b97108416c35e427edbc51 @lsegal committed Jul 14, 2012
Showing with 19 additions and 19 deletions.
  1. +19 −19 spec/rake/yardoc_task_spec.rb
@@ -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

0 comments on commit bc27497

Please sign in to comment.