concept viewer in category rails

appears as: viewer, viewers, viewer, The viewers
Rails 4 in Action: Revised Edition of Rails 3 in Action

This is an excerpt from Manning's book Rails 4 in Action: Revised Edition of Rails 3 in Action.

You’ll be working with your spec/features/viewing_projects_spec.rb feature here. You’ll update this spec to accommodate a user signing in and also add the viewer role. Update the code in this file to what’s shown in the following listing.

Listing 8.15. After assigning the user as a viewer of the project
before do login_as(user) project = FactoryGirl.create(:project, name: "Internet Explorer") assign_role!(user, :viewer, project) visit project_path(project) click_link "New Ticket" end