aboutsummaryrefslogtreecommitdiffstats
path: root/spec/dbshell/client/sqlite3_spec.rb
blob: df42cbddcc15dcc18022fbcc910d46d5f8c56c9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'minitest/autorun'
require 'dbshell/client/sqlite3'

describe DBShell::Sqlite3Client do
  describe ".build_command" do
    it "builds basic arguments" do
      DBShell::Sqlite3Client.build_command({
        'adapter' => 'sqlite3',
        'database' => 'db/development.sqlite3'
      }).must_equal([
        'sqlite3',
        'db/development.sqlite3'
      ])
    end
  end
end