-
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge master into development (#211)
- Loading branch information
1 parent
3c0ed2d
commit 4fec9f9
Showing
19 changed files
with
168 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
package pop_test | ||
package pop | ||
|
||
import ( | ||
"testing" | ||
|
||
"github.com/gobuffalo/pop" | ||
"github.com/stretchr/testify/require" | ||
) | ||
|
||
func Test_LoadsConnectionsFromConfig(t *testing.T) { | ||
r := require.New(t) | ||
|
||
conns := pop.Connections | ||
conns := Connections | ||
r.Equal(5, len(conns)) | ||
} | ||
|
||
func Test_AddLookupPaths(t *testing.T) { | ||
r := require.New(t) | ||
pop.AddLookupPaths("./foo") | ||
r.Contains(pop.LookupPaths(), "./foo") | ||
AddLookupPaths("./foo") | ||
r.Contains(LookupPaths(), "./foo") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
package pop_test | ||
package pop |
Oops, something went wrong.