Now that I’ve built up a few shoulda helpers for testing the different authentication APIs in Redmine, I can now start testing the actual bug reported. Creating a standard test macro for all APIs The first thing I did was to create a standard test macro for all of the different API authentication types. Otherwise …
Category: Articles
Redmine API: Testing for HTTP Basic auth with an API Token
This should be the final refactoring I need before I can fix the Issues API doesn’t allow full key auth for all actions bug. Here I refactored the test that is authenticating against Redmine using an API token but through HTTP Basic. Basically it’s a cross between the Token Auth and the Username and Password …
Redmine API: Testing for HTTP Basic auth refactoring
After thinking over the test refactoring I did yesterday, I thought it would be useful to do a few more refactorings to the Redmine API test suite. Today I refactored how HTTP Basic authentication is used with a username and password by creating a new shoulda macro. Before 1 2 3 4 5 6 7 …
Redmine API: Testing for the Authentication Key
I’m pausing the Redmine Refactoring for a few weeks so I can work on some features for the Redmine API. With the 1.1 release of Redmine coming out in two months, I need to get started on fixing and adding to the current API. I decided to use this blog to write about the changes …
Deploy WordPress Automatically with Capistrano
I volunteered to help my wife convert her aging website to WordPress. In a past life I used to be a WordPress developer (*) and during that time I worked with several WordPress experts and picked up a few best practices. One practice I learned was to deploy WordPress from version control (subversion) so when …