Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wth - add breadcrumb to show path (additional details) #848

Merged
merged 1 commit into from
Jan 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/views/layouts/additional_details.html.haml
Expand Up @@ -29,6 +29,8 @@

%body
= render 'additional_details/shared/navbar'
%ol.breadcrumb
= display_organization_tree(@service.organization)
.container
.flash
= render "shared/flash"
Expand Down
Expand Up @@ -23,7 +23,7 @@
RSpec.describe 'User creates an additional details questionnaire', js: true do
let_there_be_lane
scenario 'successfully' do
service = create(:service)
service = create(:service, :with_ctrc_organization)
visit new_service_additional_details_questionnaire_path(service)
fill_in 'questionnaire_name', with: 'New Questionnaire'
fill_in 'questionnaire_items_attributes_0_content', with: 'What is your favorite color?'
Expand Down
Expand Up @@ -23,7 +23,7 @@
RSpec.describe 'User should see service questionnaire index', js: true do
let_there_be_lane
scenario 'successfully' do
service = create(:service)
service = create(:service, :with_ctrc_organization)
questionnaire = create(:questionnaire,
name: 'Awesome Questionnaire',
service: service)
Expand Down