diff options
| author | Teddy Wing | 2017-04-29 22:54:27 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2017-04-29 22:54:27 +0200 | 
| commit | 56a002d2681431b34be36cf7247dc41a313601d9 (patch) | |
| tree | 0fa8a00f7b253f1c1d6554873238e48b89c8ac19 /spec | |
| parent | 575141e4efc770a4207eb5d905819d4017731f65 (diff) | |
| download | dbshell-rails-56a002d2681431b34be36cf7247dc41a313601d9.tar.bz2 | |
Rename `InvalidDatabaseAdapter` to `UnsupportedDatabaseAdapter`
Tried this out with MySQL, and got this error since I haven't integrated
it yet. It struck me that "Invalid" doesn't make any sense. Really it's
something that is possible to do but that our gem doesn't support, so we
should be clearer about that fact.
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/dbshell/client/database_spec.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/spec/dbshell/client/database_spec.rb b/spec/dbshell/client/database_spec.rb index 96f9d2c..d553871 100644 --- a/spec/dbshell/client/database_spec.rb +++ b/spec/dbshell/client/database_spec.rb @@ -20,7 +20,7 @@ describe DBShell::Client::Database do          DBShell::Client::Database.handler({            'adapter' => 'sybil_system'          }) -      end.must_raise(DBShell::Client::InvalidDatabaseAdapter) +      end.must_raise(DBShell::Client::UnsupportedDatabaseAdapter)      end    end  end | 
