Commit 60d6510a352e7bf95c429f722de2ed0cb8e76b4b
1 parent
3388399f
Exists in
master
and in
1 other branch
allow additional time for time-based test
we don't have control over speed of travis ci servers, so we're being more lenient
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
spec/models/question_spec.rb
... | ... | @@ -233,7 +233,7 @@ describe Question do |
233 | 233 | @question.choices.count.should == 3 |
234 | 234 | end |
235 | 235 | |
236 | - it "should create 2000 ideas question in less than 20 seconds" do | |
236 | + it "should create 2000 ideas question in less than 30 seconds" do | |
237 | 237 | start = Time.now |
238 | 238 | @question = Factory.build(:question) |
239 | 239 | @question.ideas = [] |
... | ... | @@ -246,7 +246,7 @@ describe Question do |
246 | 246 | @question.choices.count.should == 2000 |
247 | 247 | |
248 | 248 | endTime = Time.now |
249 | - (endTime - start).should < 20 | |
249 | + (endTime - start).should < 30 | |
250 | 250 | end |
251 | 251 | |
252 | 252 | context "median response per session" do | ... | ... |