Now i'm getting a unexpected Tconstant error. My updated code is below:
TAZA_ROOT = " File.dirname(__FILE__)}/../config/"
$DB =
DB.ado(YAML.load_file(File.read(File.join(TAZA_ROOT,'database.yml')))ENV['TAZA_ENV'])
console output:
$ rake spec:isolation:insight:smoke_test_page TAZA_ENV=qa
c:/Ruby192/bin/ruby.exe -S rspec --require taza --format html --out
artifacts/111128_1327/index.html --format p --format
FailingExamplesFormatter --out artifacts/111128_1327/failing_examples.txt
./spec/isolation/insight/smoke_tes
t_page_spec.rb
c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require': C:/Documents and Settings/hhueter/My Documents/Aptana Studio 3
Workspace/QA_Global/Automation/MAIN/Regression-refactor/spec/spec_helper.rb:43:
syntax
error, unexpected tCONSTANT, expecting ')' (SyntaxError)
...TAZA_ROOT, 'database.yml')))ENV['TAZA_ENV'])
... ^
C:/Documents and Settings/hhueter/My Documents/Aptana Studio 3
Workspace/QA_Global/Automation/MAIN/Regression-refactor/spec/spec_helper.rb:43:
syntax error, unexpected ')', expecting $end
from
c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from C:/Documents and Settings/hhueter/My Documents/Aptana Studio 3
Workspace/QA_Global/Automation/MAIN/Regression-refactor/spec/isolation/insight/smoke_test_page_spec.rb:1:in
`<top (required)>'
from
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in
`load'
from
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in
`block in load_spec_files'
from
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in
`map'
from
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in
`load_spec_files'
from
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:18:in
`run'
from
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in
`run_in_process'
from
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:69:in
`run'
from
c:/Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in
`block in autorun'
rake aborted!
ruby c:/Ruby192/bin/ruby.exe -S rspec --require taza --format html --out
artifacts/111128_1327/index.html --format p --format
FailingExamplesFormatter --out artifacts/111128_1327/failing_examples.txt
./spec/isolation/insight/smok
e_test_page_spec.rb failed
Tasks: TOP => spec:isolation:insight:smoke_test_page
(See full trace by running task with --trace)
Thanks
Hillary
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/sequel-talk/-/udx0JDkAjpkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sequel-talk?hl=en.