Displaying 2 results from an estimated 2 matches for "sor_core".
Did you mean:
soc_core
2007 May 09
3
engines causing problems with mocks
...d
Gives me this error
undefined method `callback_events'' for
#<Class:Spec::Runner::Specification>
/Users/davidsmalley/Development/incutio/skeleton/config/../vendor/
plugins/engines/lib/engines/rails_extensions/dependencies.rb:139 :in
`require_or_load''
./vendor/plugins/sor_core/spec/controllers/
admin_collections_controller_spec.rb:7
137 # if we managed to load a file, return true. If not, default
to the original method.
138 # Note that this relies on the RHS of a boolean || not to be
evaluated if the LHS is true.
139 file_loaded || require_or_load_without_e...
2007 May 17
0
strange results when using rcov with rspec
...loading from lib/, e.g. by
using the -Ilib command-line argument, adding $:.unshift File.join
(File.dirname(__FILE__), "..", "lib") to test/test_*.rb, or running
rcov via a Rakefile (read the RDoc documentation or README.rake in
the source distribution). ./vendor/plugins/sor_core/app/models/
collection.rb:1: uninitialized constant ActiveRecord (NameError)
from /usr/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/bin/rcov:516 from /usr/
bin/rcov:16 rake aborted!
RSpec failures (See full trace by running task with --trace)
A snippet of the rake task I am using looks like this:...