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

Typo Blog: Fixing admin categories bug #9

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

lgranger
Copy link

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

@kariabancroft
Copy link

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'

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

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

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

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

@kariabancroft
Copy link

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