Permalink
Browse files

Fix test failures in server specs

Fixes #576
  • Loading branch information...
1 parent cdaabab commit c479f5cfe93eaefae36654c499e0e06fecb70724 @lsegal committed Aug 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/cli/server_spec.rb
View
@@ -32,7 +32,7 @@ def run(*args)
@libraries = {library.name => [library]}
end
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
unless @no_adapter_mock
@cli.stub!(:adapter).and_return(@adapter)

0 comments on commit c479f5c

Please sign in to comment.