Skip to content

Commit

Permalink
Remove extraneous test.
Browse files Browse the repository at this point in the history
  • Loading branch information
benbjohnson committed Sep 8, 2014
1 parent 61caef5 commit 05f05ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 4 additions & 3 deletions db.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ func (db *DB) Open(path string, mode os.FileMode) error {
}
db.DB = d

if db.NewGitHubClient == nil {
db.NewGitHubClient = NewGitHubClient
}

return db.Update(func(tx *Tx) error {
// Initialize the top-level buckets.
_, _ = tx.CreateBucketIfNotExists([]byte("meta"))
Expand Down Expand Up @@ -80,9 +84,6 @@ func (db *DB) LoadGist(userID int, gistID string) error {
}

// Create GitHub client.
if db.NewGitHubClient == nil {
db.NewGitHubClient = NewGitHubClient
}
client := db.NewGitHubClient(u.AccessToken)

// Retrieve gist data.
Expand Down
3 changes: 0 additions & 3 deletions handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,6 @@ func TestHandler_Gist_Authorized(t *testing.T) {
})
}

// Ensure a gist with an invalid path returns an error.
func TestHandler_Gist_ErrInvalidPath(t *testing.T) { t.Skip("pending") }

// Ensure a path is correctly parsed into gist id and filename.
func TestHandler_ParsePath(t *testing.T) { t.Skip("pending (TT)") }

Expand Down

0 comments on commit 05f05ce

Please sign in to comment.