File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
lib/selenium/webdriver/chrome
spec/integration/selenium/webdriver/chrome Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ def as_json(*)
81
81
82
82
opts = { directory : @directory || layout_on_disk }
83
83
opts [ :extensions ] = extensions if extensions
84
- opts [ :zip ] = Zipper . zip ( @directory )
85
84
opts
86
85
end
87
86
Original file line number Diff line number Diff line change @@ -43,13 +43,6 @@ module Chrome
43
43
driver . quit
44
44
end
45
45
46
- it 'should be serializable to JSON' do
47
- profile [ 'foo.boolean' ] = true
48
-
49
- new_profile = Profile . from_json ( profile . to_json )
50
- expect ( new_profile [ 'foo.boolean' ] ) . to be true
51
- end
52
-
53
46
it 'adds an extension' do
54
47
ext_path = '/some/path.crx'
55
48
@@ -68,10 +61,8 @@ module Chrome
68
61
expect ( ext_file ) . to receive ( :read ) . and_return 'test'
69
62
70
63
expect ( profile ) . to receive ( :layout_on_disk ) . and_return 'ignored'
71
- expect ( Zipper ) . to receive ( :zip ) . and_return 'ignored'
72
64
73
- expect ( profile . as_json ) . to eq ( zip : 'ignored' ,
74
- directory : 'ignored' ,
65
+ expect ( profile . as_json ) . to eq ( directory : 'ignored' ,
75
66
extensions : [ Base64 . strict_encode64 ( 'test' ) ] )
76
67
end
77
68
You can’t perform that action at this time.
0 commit comments