diff --git a/spec/features/event_types_spec.rb b/spec/features/event_types_spec.rb index c900c65d..32bde48c 100644 --- a/spec/features/event_types_spec.rb +++ b/spec/features/event_types_spec.rb @@ -10,7 +10,7 @@ feature EventType do scenario 'adds and updates event type', feature: true, js: true do conference = create(:conference) sign_in create(user) - visit admin_conference_eventtypes_path( + visit admin_conference_event_types_path( conference_id: conference.short_title) expect(page.all('div.nested-fields').count == 2).to be true diff --git a/spec/views/admin/eventtypes/index.html.haml_spec.rb b/spec/views/admin/event_types/index.html.haml_spec.rb similarity index 89% rename from spec/views/admin/eventtypes/index.html.haml_spec.rb rename to spec/views/admin/event_types/index.html.haml_spec.rb index 095ebf93..661f7156 100644 --- a/spec/views/admin/eventtypes/index.html.haml_spec.rb +++ b/spec/views/admin/event_types/index.html.haml_spec.rb @@ -1,6 +1,6 @@ require 'spec_helper' -describe 'admin/eventtypes/index' do +describe 'admin/event_types/index' do it 'renders event types' do @event_type = create(:event_type)