spec/unit/routing_spec.rb in activeadmin-1.0.0.pre5 vs spec/unit/routing_spec.rb in activeadmin-1.0.0
- old
+ new
@@ -143,18 +143,18 @@
it "should route the nested index path" do
expect(admin_user_posts_path(1)).to eq "/admin/users/1/posts"
end
it "should route the nested show path" do
- expect(admin_user_post_path(1,2)).to eq "/admin/users/1/posts/2"
+ expect(admin_user_post_path(1, 2)).to eq "/admin/users/1/posts/2"
end
it "should route the nested new path" do
expect(new_admin_user_post_path(1)).to eq "/admin/users/1/posts/new"
end
it "should route the nested edit path" do
- expect(edit_admin_user_post_path(1,2)).to eq "/admin/users/1/posts/2/edit"
+ expect(edit_admin_user_post_path(1, 2)).to eq "/admin/users/1/posts/2/edit"
end
context "with collection action" do
before do
load_resources do