Sha256: c4a2772da629d16a5c98b4f9de3d5dfa289b2d36bbb6b928777f4706dfd6a60a

Contents?: true

Size: 244 Bytes

Versions: 14

Compression:

Stored size: 244 Bytes

Contents

When("I have devise masquerade expiration time in {int} second") do |seconds|
  Devise.masquerade_expires_in = seconds.second
end

Then("I waited for {int} seconds") do |seconds|
  sleep(seconds)

  Devise.masquerade_expires_in = 5.minutes
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
devise_masquerade-2.1.3 features/step_definitions/expires_steps.rb
devise_masquerade-2.1.2 features/step_definitions/expires_steps.rb
devise_masquerade-2.1.0 features/step_definitions/expires_steps.rb
devise_masquerade-2.0.3 features/step_definitions/expires_steps.rb
devise_masquerade-2.0.2 features/step_definitions/expires_steps.rb
devise_masquerade-2.0.1 features/step_definitions/expires_steps.rb
devise_masquerade-2.0.0 features/step_definitions/expires_steps.rb
devise_masquerade-1.3.12 features/step_definitions/expires_steps.rb
devise_masquerade-1.3.11 features/step_definitions/expires_steps.rb
devise_masquerade-1.3.10 features/step_definitions/expires_steps.rb
devise_masquerade-1.3.9 features/step_definitions/expires_steps.rb
devise_masquerade-1.3.8 features/step_definitions/expires_steps.rb
devise_masquerade-1.3.7 features/step_definitions/expires_steps.rb
devise_masquerade-1.3.6 features/step_definitions/expires_steps.rb