test/project_test.rb in tracker_api-0.2.1 vs test/project_test.rb in tracker_api-0.2.2
- old
+ new
@@ -40,10 +40,10 @@
VCR.use_cassette('get done iterations', record: :new_episodes) do
offset = -project.number_of_done_iterations_to_show.to_i
done_iterations = project.iterations(scope: :done, offset: offset)
done_iterations.wont_be_empty
- done_iterations.length.must_be :<, project.number_of_done_iterations_to_show
+ done_iterations.length.must_be :<=, project.number_of_done_iterations_to_show
iteration = done_iterations.first
iteration.must_be_instance_of TrackerApi::Resources::Iteration
end
end