diff --git a/spec/requests/organisations_controller_spec.rb b/spec/requests/organisations_controller_spec.rb index fadc1706c..8680aa49c 100644 --- a/spec/requests/organisations_controller_spec.rb +++ b/spec/requests/organisations_controller_spec.rb @@ -5,13 +5,45 @@ RSpec.describe OrganisationsController, type: :request do let(:organisation) { user.organisation } let(:headers) { { "Accept" => "text/html" } } - before do - sign_in user - get "/organisations/#{organisation.id}", headers: headers, params: {} + context "details tab" do + before do + sign_in user + get "/organisations/#{organisation.id}", headers: headers, params: {} + end + + it "shows the tab navigation" do + expected_html = "