To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!More about adding a collaborator
Routing specs have access to named routes.
- access named route
a file named "spec/routing/widget_routes_spec.rb" with:
require "rails_helper" RSpec.describe "routes to the widgets controller", :type => :routing do it "routes a named route" do expect(:get => new_widget_path). to route_to(:controller => "widgets", :action => "new") end end
- the examples should all pass
Last published almost 2 years ago by Jon Rowe.
RSpec Rails settings