Skip to content

Commit 889154f

Browse files
committed
try resetting sessions for capybara
1 parent 80978f2 commit 889154f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ env:
1515
global:
1616
- RAILS_ENV=test
1717
- CXX=g++-4.9
18-
- SAUCE_LABS_URL=http://judahmeek:[email protected]:80/wd/hub
1918
before_install:
2019
- mkdir $PWD/travis-phantomjs
2120
- curl -sSL https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2 -o $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2

spec/rails_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
end
130130

131131
config.after(:each) do
132+
Capybara.reset_sessions!
132133
DatabaseCleaner.clean
133134
end
134135

0 commit comments

Comments
 (0)