spec/routing/accounts_spec.rb in enju_leaf-1.1.0.rc17 vs spec/routing/accounts_spec.rb in enju_leaf-1.1.0.rc18

- old
+ new

@@ -2,13 +2,13 @@ describe ProfilesController do describe "routing" do it "recognizes and generates #new" do - { :get => "/accounts/sign_in" }.should route_to(:controller => "devise/sessions", :action => "new") + { get: "/accounts/sign_in" }.should route_to(controller: "devise/sessions", action: "new") end it "recognizes and generates #destroy" do - { :delete => "/accounts/sign_out" }.should route_to(:controller => "devise/sessions", :action => "destroy") + { delete: "/accounts/sign_out" }.should route_to(controller: "devise/sessions", action: "destroy") end end end