Sha256: 265b278d21ca65ce39b00a7ef253b7d914ca6bb204a49542fdb7ab04d959c2ab
Contents?: true
Size: 517 Bytes
Versions: 25
Compression:
Stored size: 517 Bytes
Contents
require 'helper' class RoutesTest < ActionDispatch::IntegrationTest context "The routing engine" do should "have sign-in and sign-out routes" do assert_routing({ :method => 'get', :path => '/sign-in' }, { :controller => 'sessions', :action => 'new' }) assert_routing({ :method => 'get', :path => '/sign-out' }, { :controller => 'sessions', :action => 'destroy' }) assert_routing({ :method => 'post', :path => '/sign-in' }, { :controller => 'sessions', :action => 'create' }) end end end
Version data entries
25 entries across 24 versions & 2 rubygems