Skip to content

Commit bd50a42

Browse files
author
Artis Abolts
committed
Renamed 'LOCAL_DATABASE' environment variable to avoid confusing
1 parent 6314610 commit bd50a42

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Review `spec/spec_helper.rb` to see default schema/user names and database names
172172

173173
* Run tests with local Vagrant based Oracle XE database
174174

175-
LOCAL_DATABASE=Y rake spec
175+
USE_VM_DATABASE=Y rake spec
176176

177177
* Run tests with other Oracle database
178178

spec/spec_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# in spec/support/ and its subdirectories.
2828
Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each {|f| require f}
2929

30-
if ENV['LOCAL_DATABASE'] == 'Y'
30+
if ENV['USE_VM_DATABASE'] == 'Y'
3131
DATABASE_NAME = 'XE'
3232
else
3333
DATABASE_NAME = ENV['DATABASE_NAME'] || 'orcl'
@@ -44,7 +44,7 @@
4444
# specify which database version is used (will be verified in one test)
4545
DATABASE_VERSION = ENV['DATABASE_VERSION'] || '10.2.0.4'
4646

47-
if ENV['LOCAL_DATABASE'] == 'Y'
47+
if ENV['USE_VM_DATABASE'] == 'Y'
4848
RSpec.configure do |config|
4949
config.before(:suite) do
5050
TestDb.build

0 commit comments

Comments
 (0)