summaryrefslogtreecommitdiff
path: root/spec/routing
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-05-19 07:55:04 -0700
committermo khan <mo@mokhan.ca>2015-05-21 21:26:10 -0600
commite89bc7cb1467063ce65e3e78d77c8f4635132d0f (patch)
tree4e7664935ebe396ac0b048e0421e15a034f15b61 /spec/routing
parentb769c085489679d362ccacd4e5d514f663379089 (diff)
create a workout record for each recors in the sqlite db.
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/dashboard_routing_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/routing/dashboard_routing_spec.rb b/spec/routing/dashboard_routing_spec.rb
index 1682f08..da37fa1 100644
--- a/spec/routing/dashboard_routing_spec.rb
+++ b/spec/routing/dashboard_routing_spec.rb
@@ -1,7 +1,7 @@
require "rails_helper"
-RSpec.describe "/dashboard", type: :routing do
+describe "/dashboard", type: :routing do
it "routes to the items listing" do
- expect(get: "/dashboard").to route_to("sessions#new")
+ expect(get: "/dashboard").to route_to("training_sessions#index")
end
end