Home 从ruby1.8转移到1.9之后的rspec用法变化(rspecusagechangesfromruby1.8toruby1.9)
Post
Cancel

从ruby1.8转移到1.9之后的rspec用法变化(rspecusagechangesfromruby1.8toruby1.9)

in ruby 1.8, we use: $ rspec spec

however, in 1.9 , we have to specify the current path, e.g. $ rspec spec -I .    

more refer to :  http://stackoverflow.com/questions/11376718/require-lib-in-rspec-with-ruby-1-9-2-brings-no-such-file-to-load

This post is licensed under CC BY 4.0 by the author.