Sha256: dadee2a5dc6e2c7ccbf0d04790b4009d1d8ae2647c63df346c02a57b81e38f0d

Contents?: true

Size: 389 Bytes

Versions: 5

Compression:

Stored size: 389 Bytes

Contents

require 'spec_helper'

describe ProfilesController do
  describe 'routing' do
    it 'recognizes and generates #new' do
      { get: '/users/sign_in' }.should route_to(controller: 'devise/sessions', action: 'new')
    end

    it 'recognizes and generates #destroy' do
      { delete: '/users/sign_out' }.should route_to(controller: 'devise/sessions', action: 'destroy')
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
enju_seed-0.4.0.beta.1 spec/routing/users_spec.rb
enju_seed-0.3.0.beta.4 spec/routing/users_spec.rb
enju_seed-0.3.0.beta.3 spec/routing/users_spec.rb
enju_seed-0.3.0.beta.2 spec/routing/users_spec.rb
enju_seed-0.3.0.beta.1 spec/routing/users_spec.rb