Wait 1 second before continue, so the fixture modifications won't influence the subsequent specs.
This is merely a guess, because all specs pass fine on the local machine but on Travis CI the next spec that uses the fixtures fails. This might be a problem related to the rounding of the timestamps in #file_modified?.
This commit is contained in:
parent
beb9f92409
commit
4e47e3e652
@ -3,6 +3,8 @@ require 'spec_helper'
|
||||
describe Guard::Listener do
|
||||
subject { Guard::Listener }
|
||||
|
||||
after(:all) { sleep 1 }
|
||||
|
||||
describe ".select_and_init" do
|
||||
before(:each) { @target_os = Config::CONFIG['target_os'] }
|
||||
after(:each) { Config::CONFIG['target_os'] = @target_os }
|
||||
|
Loading…
Reference in New Issue
Block a user