Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-08-16 22:16:15 +0300
committerTimothy Andrew <mail@timothyandrew.net>2016-08-18 19:42:02 +0300
commit961e86bf2441339f8ef1f11fe5212bf57a3f0c89 (patch)
treed4b580046795a4beed885e7cbd38f8f9c11aa99d /spec/support/fake_u2f_device.rb
parent16c44a5ddd8551224bd94318727a32b52a68425d (diff)
Add feature specs to cover naming and deleting U2F devices.
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