You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got the following error from spec test. Can anyone help?
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF...........WARNING: Using the raise_error matcher without providing a specific error
or message risks false positives, since raise_error will match when Ruby raises a NoMethodError, NameError or ArgumentError, potentially allowing the expectation to pass without even executing the method you are intending to call. Instead consider providing a specific error class or message. This message can be supressed by setting: RSpec::Expectations.configuration.warn_about_potential_false _positives = false. Called from /home/osboxes/Documents/projects/rcs-common/spec/updater_spec.rb:64:in `block (3 levels) in <module:Up
dater>'.
..
Failures:
File#eof? is false when there are bytes to read
Failure/Error: let(:file) { bucket.get(bucket.put(content)) }
NoMethodError:
undefined method `session' for RCS::Mongoid:Module
Has anyone been able to run this?
Got the following error from spec test. Can anyone help?
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF...........WARNING: Using the
raise_error
matcher without providing a specific erroror message risks false positives, since
raise_error
will match when Ruby raises aNoMethodError
,NameError
orArgumentError
, potentially allowing the expectation to pass without even executing the method you are intending to call. Instead consider providing a specific error class or message. This message can be supressed by setting:RSpec::Expectations.configuration.warn_about_potential_false _positives = false
. Called from /home/osboxes/Documents/projects/rcs-common/spec/updater_spec.rb:64:in `block (3 levels) in <module:Updater>'.
..
Failures:
Failure/Error: let(:file) { bucket.get(bucket.put(content)) }
NoMethodError:
undefined method `session' for RCS::Mongoid:Module
./lib/rcs-common/gridfs.rb:115:in`session'
./lib/rcs-common/gridfs.rb:123:in `chunks_collection'
./lib/rcs-common/gridfs.rb:245:in`setup'
./lib/rcs-common/gridfs.rb:268:in `write'
./lib/rcs-common/gridfs.rb:145:in`put'
./spec/gridfs_spec.rb:108:in `block (2 levels) in module:GridFS'
./spec/gridfs_spec.rb:113:in`block (3 levels) in module:GridFS'
The text was updated successfully, but these errors were encountered: