Skip to content
Browse files

use Vision demo users in tests

  • Loading branch information...
1 parent f64676b commit 8f23015ba43e5d3b7a0a9cf0b6df1da2241a86cb @rsim rsim committed Nov 7, 2011
Showing with 6 additions and 6 deletions.
  1. +3 −3 spec/authenticator_spec.rb
  2. +3 −3 spec/spec_helper.rb
View
6 spec/authenticator_spec.rb
@@ -11,8 +11,8 @@
before(:each) do
@auth = OracleEbsAuthentication::Authenticator.new
- @user = "SIMANRAI"
- @password = "welcome1"
+ @user = "OPERATIONS"
+ @password = "welcome"
end
describe "#get_fnd_password" do
@@ -37,7 +37,7 @@
describe "#get_fnd_responsibilities" do
it "should return responsibility names for given user" do
- @auth.get_fnd_responsibilities("HINKKJUH").should include("System Administrator")
+ @auth.get_fnd_responsibilities("OPERATIONS").should include("System Administrator")
end
end
end
View
6 spec/spec_helper.rb
@@ -2,6 +2,6 @@
require "oracle_ebs_authentication"
-DATABASE_NAME = ENV['DATABASE_NAME']
-DATABASE_USERNAME = ENV['DATABASE_USERNAME']
-DATABASE_PASSWORD = ENV['DATABASE_PASSWORD']
+DATABASE_NAME = ENV['DATABASE_NAME'] || 'VIS'
+DATABASE_USERNAME = ENV['DATABASE_USERNAME'] || 'APPS'
+DATABASE_PASSWORD = ENV['DATABASE_PASSWORD'] || 'APPS'

0 comments on commit 8f23015

Please sign in to comment.
Something went wrong with that request. Please try again.