diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-08-19 12:36:37 +0400 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-08-19 12:36:37 +0400 |
commit | d656cb74f7e1becdb6ed686a7d36da48ab521030 (patch) | |
tree | 67627867a2dbb14f9a75f1ca599684366dc8c554 /spec/spec_helper.rb | |
parent | d4059ac966e26c4f384c53ca14319c56619fef78 (diff) |
Headless gem added
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index f87c9a50f86..5c0bb618754 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -12,6 +12,7 @@ require 'webmock/rspec' require 'factories' require 'monkeypatch' require 'email_spec' +require 'headless' # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. @@ -30,6 +31,11 @@ RSpec.configure do |config| # instead of true. config.use_transactional_fixtures = false + config.before :all do + headless = Headless.new + headless.start + end + config.before :each, type: :integration do DeviseSessionMock.disable end |