Sha256: 1a92e87a35feda68cdaed49f9df089dc2e127da69ae1aa679cce128dfe0275fc

Contents?: true

Size: 414 Bytes

Versions: 5

Compression:

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

5 entries across 5 versions & 1 rubygems

Version Path
enju_leaf-1.1.0.rc17 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc16 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc15 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc14 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc13 spec/routing/accounts_spec.rb