Skip to content
This repository was archived by the owner on Dec 3, 2019. It is now read-only.
This repository was archived by the owner on Dec 3, 2019. It is now read-only.

Formatting issue in db/schema.rb:14:1 on make test #374

Closed

Description

@hollomancer

What is the current behavior?

When running make test,

Inspecting 252 files                                                                                                                                 
.....................................................................................................................................................
....................................................C..................................................                                              
                                                                                                                                                     
Offenses:                                                                                                                                            
                                                                                                                                                     
db/schema.rb:14:1: C: Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body beginning.                                           
                                                                                                                                                     
252 files inspected, 1 offense detected                                                                                                              
make: *** [test] Error 1

Activity

  1. self-assigned this
    on Jul 11, 2018
  2. hpjaj commented on Jul 14, 2018

    @hpjaj
    Contributor

    @hollomancer - I just tested this off of master, and all is good. You'll just need to delete that extra line in schema.rb that was created. Your editor might have mistakenly created an extra line.

    You can run make rubocop to test RuboCop, exclusively.

    Pls confirm, and we can close this issue.

  3. aaron-junot commented on Sep 15, 2018

    @aaron-junot
    Member

    I have confirmed that running make setup consistently adds and extra line to db/schema.rb and adds an untracked file called test/cassettes/user_test/military_status_accepts_valid_states.yml on my system. I'm on master 8fbb035

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions