Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2012-09-10 12:51:02 +0400
committerNihad Abbasov <narkoz.2008@gmail.com>2012-09-10 13:20:12 +0400
commitd74f54736b8aabb3885648c44d7e253209b8e9e1 (patch)
tree8531def14e27e034edb018fa524b287bf8690618 /features/support
parentbb75052a904c24d1484fa6ec0ad96839effb8ee3 (diff)
rewrite dashboard feature steps using spinach
Diffstat (limited to 'features/support')
-rw-r--r--features/support/env.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/features/support/env.rb b/features/support/env.rb
index aa2f2958ba3..2900e1cb288 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -4,6 +4,12 @@ require './config/environment'
require 'rspec'
require 'database_cleaner'
+%w(login_helpers stubbed_repository).each do |f|
+ require Rails.root.join('spec', 'support', f)
+end
+
+include LoginHelpers
+
DatabaseCleaner.strategy = :transaction
Spinach.hooks.before_scenario { DatabaseCleaner.start }
Spinach.hooks.after_scenario { DatabaseCleaner.clean }