diff options
author | Teddy Wing | 2017-04-29 18:32:46 +0200 |
---|---|---|
committer | Teddy Wing | 2017-04-29 19:15:46 +0200 |
commit | 99f91105277b6d86a406a7a8aa92613f415f277c (patch) | |
tree | 3827d71d83d2e9e88198a5c40ba3ef6ba572d0e4 | |
parent | 7b6d1e1b2c4a7991ceac7f4c7d07686c6f40d8ee (diff) | |
download | dbshell-rails-99f91105277b6d86a406a7a8aa92613f415f277c.tar.bz2 |
Add `DBShell::PostgresClient` stub
Make an empty container to pass the basic tests.
-rw-r--r-- | lib/dbshell/postgres_client.rb | 4 | ||||
-rw-r--r-- | spec/dbshell/postgres_client_spec.rb | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/dbshell/postgres_client.rb b/lib/dbshell/postgres_client.rb new file mode 100644 index 0000000..a22ccf7 --- /dev/null +++ b/lib/dbshell/postgres_client.rb @@ -0,0 +1,4 @@ +class DBShell::PostgresClient + def self.build_command(db_info) + end +end diff --git a/spec/dbshell/postgres_client_spec.rb b/spec/dbshell/postgres_client_spec.rb index d1ace86..a5cbcfd 100644 --- a/spec/dbshell/postgres_client_spec.rb +++ b/spec/dbshell/postgres_client_spec.rb @@ -1,4 +1,5 @@ require 'minitest/autorun' +require 'dbshell/postgres_client' describe DBShell::PostgresClient do describe ".build_command" do |