Sha256: d7898062e1c60c11758421a0db4a40142f4af1414ddf22d40b9d9c4a2a52a59d

Contents?: true

Size: 1.12 KB

Versions: 10

Compression:

Stored size: 1.12 KB

Contents

require 'spec_helper'

describe "routes for devise_authy" do
  it "route to devise_authy#GET_verify_authy" do
    get('/users/verify_authy').should route_to("devise/devise_authy#GET_verify_authy")
  end

  it "routes to devise_authy#POST_verify_authy" do
    post('/users/verify_authy').should route_to("devise/devise_authy#POST_verify_authy")
  end

  it "routes to devise_authy#GET_enable_authy" do
    get('/users/enable_authy').should route_to("devise/devise_authy#GET_enable_authy")
  end

  it "routes to devise_authy#POST_enable_authy" do
    post('/users/enable_authy').should route_to("devise/devise_authy#POST_enable_authy")
  end

  it "route to devise_authy#GET_verify_authy_installation" do
    get('/users/verify_authy_installation').should route_to("devise/devise_authy#GET_verify_authy_installation")
  end

  it "routes to devise_authy#POST_verify_authy_installation" do
    post('/users/verify_authy_installation').should route_to("devise/devise_authy#POST_verify_authy_installation")
  end

  it "routes to devise_authy#request_sms" do
    post('/users/request-sms').should route_to("devise/devise_authy#request_sms")
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
devise-authy-1.7.0 spec/routing/routes_spec.rb
devise-authy-1.6.0 spec/routing/routes_spec.rb
devise-authy-1.5.3 spec/routing/routes_spec.rb
devise-authy-1.5.2 spec/routing/routes_spec.rb
devise-authy-1.5.1 spec/routing/routes_spec.rb
devise-authy-1.5.0 spec/routing/routes_spec.rb
devise-authy-1.4.0 spec/routing/routes_spec.rb
devise-authy-1.3.0 spec/routing/routes_spec.rb
devise-authy-1.2.2 spec/routing/routes_spec.rb
devise-authy-1.2.1 spec/routing/routes_spec.rb