Sha256: 82f73d79d144c9fcfde16e6665bc04e525ef332f6501b705409b8419ff49dab6

Contents?: true

Size: 396 Bytes

Versions: 10

Compression:

Stored size: 396 Bytes

Contents

require "spec_helper"

describe ProfilesController do
  describe "routing" do

    it "recognizes and generates #new" do
      { get: "/accounts/sign_in" }.should route_to(controller: "devise/sessions", action: "new")
    end

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
enju_leaf-1.1.4 spec/routing/accounts_spec.rb
enju_leaf-1.1.3 spec/routing/accounts_spec.rb
enju_leaf-1.1.2 spec/routing/accounts_spec.rb
enju_leaf-1.1.1 spec/routing/accounts_spec.rb
enju_leaf-1.1.0 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc22 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc21 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc20 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc19 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc18 spec/routing/accounts_spec.rb