Sha256: 9c8966f27cffd1e7a43d0be917d8163da10fbf4554182ed7590a1403ac88c843

Contents?: true

Size: 411 Bytes

Versions: 14

Compression:

Stored size: 411 Bytes

Contents

require "spec_helper"

describe UsersController 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

14 entries across 14 versions & 1 rubygems

Version Path
enju_leaf-1.1.0.rc12 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc11 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc10 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc9 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc8 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc7 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc6 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc5 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc4 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc3 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc2 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.rc1 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.beta3 spec/routing/accounts_spec.rb
enju_leaf-1.1.0.pre3 spec/routing/accounts_spec.rb