Skip to content

Typo Blog: Fixing admin categories bug#9

Open
lgranger wants to merge 19 commits intoAda-C4:masterfrom
lgranger:lg-master
Open

Typo Blog: Fixing admin categories bug#9
lgranger wants to merge 19 commits intoAda-C4:masterfrom
lgranger:lg-master

Conversation

@lgranger
Copy link
Copy Markdown

  • Bug preventing admin categories page fixed
  • TDD & BDD tests for this is bug passing

@kariabancroft
Copy link
Copy Markdown

Don't forget to add a meaningful PR message to the title of the PR so someone reading this knows the purpose

@@ -1,13 +1,14 @@
require 'pry'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eek! no check-ins with pry!

@kariabancroft
Copy link
Copy Markdown

The files in the db folder should not be included in your commits, please remove

And I press "Save"
Then I should see "Category was successfully saved."
And I should see "Test"
And I should have 1 category
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@lgranger lgranger changed the title Lg master Typo Blog: Fixing admin categories bug Mar 29, 2016
@lgranger
Copy link
Copy Markdown
Author

  • updated title of PR request
  • removed pry
  • removed unnecessary before statement in rspec test
  • added bdd test for unsuccessfully add/editing a category
  • fixed bug not rendering the failure to save page
  • added db records to gitignore

@kariabancroft
Copy link
Copy Markdown

Great! The db files are in your gitignore, but they are still in this PR and should be removed/deleted.

@kariabancroft
Copy link
Copy Markdown

Unfortunately I was only talking about the db/db_test and db/db_development files you added, not all of the files in that folder.

@lgranger
Copy link
Copy Markdown
Author

  • removed db files from github, like, all of them this time

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

Successfully merging this pull request may close these issues.

2 participants