diff --git a/features/support/publishing_cuke_helpers.rb b/features/support/publishing_cuke_helpers.rb index 26f8914f5..579440218 100644 --- a/features/support/publishing_cuke_helpers.rb +++ b/features/support/publishing_cuke_helpers.rb @@ -1,10 +1,10 @@ module PublishingCukeHelpers def make_post(text) - @@last_post_time ||= Time.now - Timecop.travel @@last_post_time += 1.minute fill_in 'status_message_fake_text', :with => text click_button :submit wait_for_ajax_to_finish + @@last_post_time ||= Time.now + Timecop.travel @@last_post_time += 1.minute end def click_and_post(text)