fix tests for event types

This commit is contained in:
Stella Rouzi 2014-07-10 12:16:25 +03:00
parent fd7f213178
commit f9f840c811
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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)