summaryrefslogtreecommitdiff
path: root/spec/support/fake_u2f_device.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/fake_u2f_device.rb')
-rw-r--r--spec/support/fake_u2f_device.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/support/fake_u2f_device.rb b/spec/support/fake_u2f_device.rb
index f550e9a0160..8c407b867fe 100644
--- a/spec/support/fake_u2f_device.rb
+++ b/spec/support/fake_u2f_device.rb
@@ -1,6 +1,9 @@
class FakeU2fDevice
- def initialize(page)
+ attr_reader :name
+
+ def initialize(page, name)
@page = page
+ @name = name
end
def respond_to_u2f_registration