Skip to content

Commit

Permalink
Fix test failures in server specs
Browse files Browse the repository at this point in the history
Fixes #576
  • Loading branch information
lsegal committed Aug 6, 2012
1 parent cdaabab commit c479f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/cli/server_spec.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def run(*args)
@libraries = {library.name => [library]} @libraries = {library.name => [library]}
end end
unless @no_verify_libraries unless @no_verify_libraries
@libraries.values.each {|libs| libs.each {|lib| File.should_receive(:exist?).at_least(1).times.with(File.expand_path(lib.yardoc_file)).and_return(true) } } @libraries.values.each {|libs| libs.each {|lib| File.stub!(:exist?).with(File.expand_path(lib.yardoc_file)).and_return(true) } }
end end
unless @no_adapter_mock unless @no_adapter_mock
@cli.stub!(:adapter).and_return(@adapter) @cli.stub!(:adapter).and_return(@adapter)
Expand Down

0 comments on commit c479f5c

Please sign in to comment.