diff options
Diffstat (limited to 'spec/support/helpers/fake_u2f_device.rb')
-rw-r--r-- | spec/support/helpers/fake_u2f_device.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/support/helpers/fake_u2f_device.rb b/spec/support/helpers/fake_u2f_device.rb index f765b277175..2ed1222ebd3 100644 --- a/spec/support/helpers/fake_u2f_device.rb +++ b/spec/support/helpers/fake_u2f_device.rb @@ -3,9 +3,10 @@ class FakeU2fDevice attr_reader :name - def initialize(page, name) + def initialize(page, name, device = nil) @page = page @name = name + @u2f_device = device end def respond_to_u2f_registration |