diff --git a/plugins/poll/spec/controllers/posts_controller_spec.rb b/plugins/poll/spec/controllers/posts_controller_spec.rb index dd4699345cb..a647be1327a 100644 --- a/plugins/poll/spec/controllers/posts_controller_spec.rb +++ b/plugins/poll/spec/controllers/posts_controller_spec.rb @@ -4,8 +4,13 @@ describe PostsController do let!(:user) { log_in } let!(:title) { "Testing Poll Plugin" } + before do + SiteSetting.min_first_post_typing_time = 0 + end + describe "polls" do + it "works" do xhr :post, :create, { title: title, raw: "[poll]\n- A\n- B\n[/poll]" } expect(response).to be_success