test_server 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,9 +23,8 @@ function result(url, timeout, start_time, result) {
23
23
  $(document).ready(function(){
24
24
  $("#clone").click(function () {
25
25
 
26
- var popup = window.open(window.location.pathname + '?' + $('form').serialize(), 'Test Server');
27
- popup.blur();
28
- window.focus();
26
+ var open_time = new Date().getTime();
27
+ window.open(window.location.pathname + '?' + $('form').serialize(), '_blank');
29
28
  });
30
29
  });
31
30
 
@@ -1,4 +1,4 @@
1
1
  #main TestServer
2
2
  module TestServer
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
@@ -67,7 +67,7 @@ describe 'Fetch data via javascript', :js do
67
67
 
68
68
  click_link('clone')
69
69
 
70
- within_window 'Test Server' do
70
+ within_window '' do
71
71
  expect(find('#url').value).to eq url
72
72
  expect(find('#count').value).to eq '1'
73
73
  expect(find('#timeout').value).to eq '100'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: