From f195b7d411e38ed9dedacd37c75ea72e5d4391c0 Mon Sep 17 00:00:00 2001 From: "Munen Alain M. Lafon" Date: Tue, 17 Jun 2014 15:39:24 +0200 Subject: [PATCH] fix spec --- spec/features/talks_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/talks_spec.rb b/spec/features/talks_spec.rb index ac5ddbb35..28282b0d7 100644 --- a/spec/features/talks_spec.rb +++ b/spec/features/talks_spec.rb @@ -87,7 +87,6 @@ venue = FactoryGirl.create(:venue, user: @user) visit new_venue_talk_path(venue) - fill_in :talk_title, with: 'spec talk title' fill_in :talk_teaser, with: 'spec talk teaser' # NOTE: Since the WYSIWYG editor is creating an ifrage, we cannot fill in # the text with Capybara. jQuery to the rescue. @@ -97,6 +96,7 @@ fill_in 'talk_starts_at_date', with: '2014-04-29' fill_in 'talk_starts_at_time', with: '05:12' + fill_in :talk_title, with: 'spec talk title' click_button 'Save' page.should have_selector('.talks-show') page.should have_content('spec talk title')