Sha256: b27cd10213af8790343ffb1c5b87b7df0e78de26bc0840efaf2536b96e98c951
Contents?: true
Size: 523 Bytes
Versions: 1
Compression:
Stored size: 523 Bytes
Contents
require 'test_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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
challah-1.1.1 | test/services/routes_test.rb |