Sha256: 038fca0d028eca18ef596ccd9d5ffe096c5218ee266b8eb1201c2e3753415ba1

Contents?: true

Size: 390 Bytes

Versions: 29

Compression:

Stored size: 390 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

29 entries across 28 versions & 2 rubygems

Version Path
enju_seed-0.3.6 spec/routing/users_spec.rb
enju_seed-0.3.5 spec/routing/users_spec.rb
enju_seed-0.4.0.rc.2 spec/routing/users_spec.rb
enju_seed-0.3.4 spec/routing/users_spec.rb
enju_seed-0.4.0.rc.1 spec/routing/users_spec.rb
enju_seed-0.4.0.beta.3 spec/routing/users_spec.rb
enju_seed-0.5.0.beta.1 spec/routing/users_spec.rb
enju_seed-0.4.0.beta.2 spec/routing/users_spec.rb
enju_seed-0.3.3 spec/routing/users_spec.rb
enju_seed-0.3.2 spec/routing/users_spec.rb
enju_seed-0.3.1 spec/routing/users_spec.rb
enju_seed-0.3.0 spec/routing/users_spec.rb
enju_seed-0.3.0.rc.1 spec/routing/users_spec.rb
enju_seed-0.3.0.beta.7 spec/routing/users_spec.rb
enju_seed-0.3.0.beta.6 spec/routing/users_spec.rb
enju_seed-0.2.3 spec/routing/users_spec.rb
enju_seed-0.2.2 spec/routing/users_spec.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_seed-0.2.0/spec/routing/users_spec.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_seed-0.2.1/spec/routing/users_spec.rb
enju_seed-0.2.1 spec/routing/users_spec.rb