method

new_spec

v1_9_3_392 - Show latest stable - Class: Gem::TestCase
new_spec(name, version, deps = nil, *files)
public

Create a new spec (or gem if passed an array of files) and set it up properly. Use this instead of util_spec and util_gem.