test_server 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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: