summaryrefslogtreecommitdiff
path: root/features/support
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-08-28 01:42:28 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-08-28 21:22:49 -0400
commitc9c1f76e002d899dd6765c4c1630697cc5068f27 (patch)
tree0ab18369aa5df80c89b1618e4de75eaa33da174b /features/support
parent4805c64f2a96e8a9ea5a0e94a820d840fa1675e0 (diff)
downloadgitlab-ce-c9c1f76e002d899dd6765c4c1630697cc5068f27.tar.gz
All specs and features currently passing with FactoryGirl
Diffstat (limited to 'features/support')
-rw-r--r--features/support/env.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/features/support/env.rb b/features/support/env.rb
index da6c1b70168..5357815201a 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -8,8 +8,8 @@ require 'webmock/cucumber'
WebMock.allow_net_connect!
-require Rails.root.join 'spec/support/monkeypatch'
require Rails.root.join 'spec/support/gitolite_stub'
+require Rails.root.join 'spec/support/stubbed_repository'
require Rails.root.join 'spec/support/login_helpers'
require Rails.root.join 'spec/support/valid_commit'
@@ -52,6 +52,8 @@ require 'cucumber/rspec/doubles'
include GitoliteStub
-Before do
+Before do
stub_gitolite!
end
+
+World(FactoryGirl::Syntax::Methods)