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
Feature specs are high-level tests meant to exercise slices of functionality
through an application. They should drive the application only via its
external interface, usually web pages.
- specify creating a Widget by driving the application with capybara
a file named "spec/features/widget_management_spec.rb" with:
require "spec_helper" feature "Widget management" do scenario "User creates a new widget" do visit "/widgets/new" fill_in "Name", :with => "My Widget" click_button "Create Widget" expect(page).to have_text("Widget was successfully created.") end end
- the example should pass
Last published almost 5 years ago by myronmarston.
RSpec Rails settings