Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
munen committed Jun 17, 2014
1 parent 6cb462a commit f195b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/talks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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')
Expand Down

0 comments on commit f195b7d

Please sign in to comment.