Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec test error #1

Open
e2w5 opened this issue Jul 18, 2015 · 0 comments
Open

Spec test error #1

e2w5 opened this issue Jul 18, 2015 · 0 comments

Comments

@e2w5
Copy link

e2w5 commented Jul 18, 2015

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 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:

  1. 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

    ./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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant