diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-15 03:41:49 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-15 03:41:49 +0200 |
commit | 407fbebc2da14520942e0a6a9220a5a3cfc4a7ad (patch) | |
tree | e313ddad41398382f82cd27b40f46e0b7394c393 /tests/acceptance/features/support/env.rb | |
parent | 7d33bab5abd81871e4efcf995f8a715d45b9d590 (diff) |
rename businesslayer to service
Diffstat (limited to 'tests/acceptance/features/support/env.rb')
-rw-r--r-- | tests/acceptance/features/support/env.rb | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/acceptance/features/support/env.rb b/tests/acceptance/features/support/env.rb deleted file mode 100644 index 91af642bf..000000000 --- a/tests/acceptance/features/support/env.rb +++ /dev/null @@ -1,28 +0,0 @@ -require 'bundler/setup' -require 'capybara/cucumber' -require 'selenium-webdriver' - -Encoding.default_external = Encoding::UTF_8 -Encoding.default_internal = Encoding::UTF_8 - -Capybara.register_driver :selenium do |app| - http_client = Selenium::WebDriver::Remote::Http::Default.new - http_client.timeout = 200 - Capybara::Selenium::Driver.new(app, :browser => :firefox, :http_client => http_client) -end - -# -# app and app_host are set via command line parameter on cucumber call: -# cucumber HOST=33.33.33.10 -# -host = ENV['HOST'] -host ||= '33.33.33.10' - -Capybara.app = host -Capybara.run_server = false -Capybara.app_host = "http://#{host}" -Capybara.default_selector = :css -Capybara.default_driver = :selenium - -# serve static files -#run Rack::Directory.new Dir.pwd.concat('./static')
\ No newline at end of file |