add spinach steps for project issues and source features
This commit is contained in:
parent
080bd12e16
commit
698500dd78
11 changed files with 345 additions and 26 deletions
|
@ -3,6 +3,7 @@ require './config/environment'
|
|||
|
||||
require 'rspec'
|
||||
require 'database_cleaner'
|
||||
require 'spinach/capybara'
|
||||
|
||||
%w(gitolite_stub login_helpers stubbed_repository valid_commit).each do |f|
|
||||
require Rails.root.join('spec', 'support', f)
|
||||
|
@ -12,6 +13,7 @@ include LoginHelpers
|
|||
include GitoliteStub
|
||||
|
||||
WebMock.allow_net_connect!
|
||||
Capybara.javascript_driver = :webkit
|
||||
|
||||
DatabaseCleaner.strategy = :truncation
|
||||
Spinach.hooks.before_scenario { DatabaseCleaner.start }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue