diff options
| author | mo khan <mo@mokhan.ca> | 2014-03-30 16:20:30 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-03-30 16:20:30 -0600 |
| commit | de63577b2895bbf83047d4743c9fa8edb2b2cefe (patch) | |
| tree | 0c46fada3714e175f28819a102f4a50cf17fb40c /spec | |
| parent | f1be4681862dfd8cc05d4e8e07b495d3b3a6621c (diff) | |
add routing spec to logins#create.
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/routing/logins_routing_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/routing/logins_routing_spec.rb b/spec/routing/logins_routing_spec.rb index d7b4d03..7533f59 100644 --- a/spec/routing/logins_routing_spec.rb +++ b/spec/routing/logins_routing_spec.rb @@ -4,4 +4,8 @@ describe '/logins' do it "routes to logins#new" do expect(get: 'logins/new').to route_to(controller: 'logins', action: 'new') end + + it "routes to logins#create" do + expect(post: 'logins').to route_to(controller: 'logins', action: 'create') + end end |
