Skip to content

Commit

Permalink
add require time to avoid test failure
Browse files Browse the repository at this point in the history
fix below test error (on Debian unstable)

> │ Run tests for ruby2.5 from debian/ruby-tests.rake                            │
>
> All examples were filtered out; ignoring {:focus=>true}
>      # ./spec/aruba/api_spec.rb:333:in `block (5 levels) in <top (required)>'
>
>      NoMethodError:
>        undefined method `parse' for Time:Class
>      Shared Example Group: "an existing directory" called from ./spec/aruba/api_spec.rb:388
>      # ./spec/aruba/api_spec.rb:386:in `block (7 levels) in <top (required)>'
>      # ./spec/aruba/api_spec.rb:381:in `block (6 levels) in <top (required)>'
>      # ./lib/aruba/rspec.rb:22:in `block (2 levels) in <top (required)>'
  • Loading branch information
henrich committed Oct 13, 2018
1 parent 99e90d2 commit 7d11cad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/aruba/api_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require 'spec_helper'
require 'aruba/api'
require 'fileutils'
require 'time'

describe Aruba::Api do
include_context 'uses aruba API'
Expand Down

0 comments on commit 7d11cad

Please sign in to comment.