2017-11-13 21:42:07 +00:00
|
|
|
package repositories_test
|
|
|
|
|
|
|
|
import (
|
2017-12-07 19:32:16 +00:00
|
|
|
"github.com/8thlight/vulcanizedb/pkg/core"
|
2017-11-13 21:42:07 +00:00
|
|
|
"github.com/8thlight/vulcanizedb/pkg/repositories"
|
|
|
|
"github.com/8thlight/vulcanizedb/pkg/repositories/testing"
|
|
|
|
_ "github.com/lib/pq"
|
|
|
|
. "github.com/onsi/ginkgo"
|
|
|
|
)
|
|
|
|
|
|
|
|
var _ = Describe("In memory repository", func() {
|
|
|
|
|
2017-12-07 19:32:16 +00:00
|
|
|
testing.AssertRepositoryBehavior(func(core.Node) repositories.Repository {
|
2017-11-13 21:42:07 +00:00
|
|
|
return repositories.NewInMemory()
|
|
|
|
})
|
|
|
|
|
|
|
|
})
|