Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Fix failing specs in master #19

Open
Mehonoshin opened this issue Oct 30, 2019 · 6 comments
Open

Fix failing specs in master #19

Mehonoshin opened this issue Oct 30, 2019 · 6 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Mehonoshin
Copy link
Member

Mehonoshin commented Oct 30, 2019

There are some standard generated specs, that fail at the moment. Either fix them, or remove if underlying code does not exist anymore.

@Mehonoshin Mehonoshin added help wanted Extra attention is needed good first issue Good for newcomers labels Oct 30, 2019
@LS05
Copy link

LS05 commented Nov 3, 2019

Can I work on this? :)

@Mehonoshin
Copy link
Member Author

Mehonoshin commented Nov 3, 2019

@LS05 sure, feel free to take it

@LS05
Copy link

LS05 commented Nov 3, 2019

@Mehonoshin Do I have to manually create the database?

Because if I run rake db:seed I get PG::ConnectionBad: FATAL: database "omniscrapper_hq_development" does not exist

@Mehonoshin
Copy link
Member Author

Do bundle exec hanami db prepare first, then rake db:seed

@LS05
Copy link

LS05 commented Nov 12, 2019

I had some problems with my environment, but now I'm able to run the tests :)
I'll give this a try in the coming days!

@LS05
Copy link

LS05 commented Nov 26, 2019

Can you show me an example of which ones are failing?

I have a couple of these

8.2) Failure/Error: repository.clear

          Sequel::ForeignKeyConstraintViolation:
            PG::ForeignKeyViolation: ERROR:  update or delete on table "sites" violates foreign key constraint "tasks_site_id_fkey" on table "tasks"
            DETAIL:  Key (id)=(1) is still referenced from table "tasks".

Which I think I have because of some configuration problems on my environment (still 😅)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants