Skip to content

Commit

Permalink
Add absolute path for sqlite3 to rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesterovskiy committed Oct 2, 2017
1 parent c4a6a76 commit bfd18b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ begin

configs = {
'postgresql' => { 'TEST_ENCODING' => 'unicode' },
'sqlite3' => { 'TEST_DATABASE' => 'db/database.sqlite3' },
'sqlite3' => { 'TEST_DATABASE' => File.join(File.expand_path('.'), 'spec/internal/db/database.sqlite3') },
}

configs.merge!(
Expand Down
1 change: 0 additions & 1 deletion spec/lib/sequel_rails/railtie_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
context 'and DATABASE_URL is defined' do
let :database_url do
cfg = Combustion::Application.config.database_configuration['test']
cfg['database'] = Rails.root.join(cfg['database']).to_s
SequelRails::DbConfig.new(cfg).url
end

Expand Down

0 comments on commit bfd18b5

Please sign in to comment.