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

Test failure on check_issues_spec.rb #139

Open
deivid-rodriguez opened this issue Feb 22, 2018 · 0 comments
Open

Test failure on check_issues_spec.rb #139

deivid-rodriguez opened this issue Feb 22, 2018 · 0 comments

Comments

@deivid-rodriguez
Copy link
Contributor

@leio10 Can you reproduce this one?

Run options: include {:locations=>{"./spec/commands/issues/check_issues_spec.rb"=>[91]}}

Randomized with seed 48602

Issues::CheckIssues
  when an unfixed issue for this document existed, but is fixed now
    keeps the issue related objects before fixing it (FAILED - 1)

Failures:

  1) Issues::CheckIssues when an unfixed issue for this document existed, but is fixed now keeps the issue related objects before fixing it
     Failure/Error: expect { subject } .not_to change { Issue.last.people }
       expected `Issue.last.people` not to have changed, but did change from #<ActiveRecord::Associations::CollectionProxy [#<Person id: 45, first_name: "Jorge", last_name1: "Rey... extra: {}, created_at: "2018-02-22 15:15:00", updated_at: "2018-02-22 15:15:00", deleted_at: nil>]> to #<ActiveRecord::Associations::CollectionProxy [#<Person id: 46, first_name: "Jorge Luis", last_name1:... extra: {}, created_at: "2018-02-22 15:15:00", updated_at: "2018-02-22 15:15:00", deleted_at: nil>]>
     # ./spec/commands/issues/check_issues_spec.rb:92:in `block (3 levels) in <top (required)>'

Top 1 slowest examples (0.6843 seconds, 99.8% of total time):
  Issues::CheckIssues when an unfixed issue for this document existed, but is fixed now keeps the issue related objects before fixing it
    0.6843 seconds ./spec/commands/issues/check_issues_spec.rb:91

Finished in 0.68553 seconds (files took 5.67 seconds to load)
1 example, 1 failure

Failed examples:

rspec ./spec/commands/issues/check_issues_spec.rb:91 # Issues::CheckIssues when an unfixed issue for this document existed, but is fixed now keeps the issue related objects before fixing it

Randomized with seed 48602

Coverage report generated for RSpec to /home/deivid/Code/census/coverage. 915 / 4190 LOC (21.84%) covered.
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