This repository has been archived by the owner on Nov 30, 2024. It is now read-only.
2.14.4
2.14.4 / 2013-07-21
Bug fixes
- Fix regression in 2.14: ensure configured requires (via
-r
option)
are loaded before spec files are loaded. This allows the spec files
to programatically change the file pattern (Jon Rowe). - Autoload
RSpec::Mocks
andRSpec::Expectations
when referenced if
they are not already loaded (RSpec::Matches
has been autoloaded
for a while). In therspec
gem, we changed it recently to stop
loadingrspec/mocks
andrspec/expectations
by default, as some
users reported problems where they were intending to use mocha,
not rspec-mocks, but rspec-mocks was loaded and causing a conflict.
rspec-core loads mocks and expectations at the appropriate time, so
it seemed like a safe change -- but caused a problem for some authors
of libraries that integrate with RSpec. This fixes that problem.
(Myron Marston) - Gracefully handle a command like
rspec --profile path/to/spec.rb
:
thepath/to/spec.rb
arg was being wrongly treated as theprofile
integer arg, which got cast0
usingto_i
, causing no profiled
examples to be printed. (Jon Rowe)