Sha256: cab046cfe50a5249142b6464828a668acb8f92e10eb4a4344510f9dd82c02c0c

Contents?: true

Size: 161 Bytes

Versions: 12

Compression:

Stored size: 161 Bytes

Contents

RSpec.configure do |config|
  config.before(:suite) do
    Time.zone = ActiveSupport::TimeZone.all.sample
    puts "Randomized timezone: #{Time.zone}"
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pah-0.0.28 lib/pah/files/spec/support/random_timezone.rb
pah-0.0.27 lib/pah/files/spec/support/random_timezone.rb
pah-0.0.26 lib/pah/files/spec/support/random_timezone.rb
pah-0.0.25 lib/pah/files/spec/support/random_timezone.rb
pah-0.0.24 lib/pah/files/spec/support/random_timezone.rb
pah-0.0.23 lib/pah/files/spec/support/random_timezone.rb
pah-0.0.22 lib/pah/files/spec/support/random_timezone.rb
pah-0.0.21 lib/pah/files/spec/support/random_timezone.rb
pah-0.0.20 lib/pah/files/spec/support/random_timezone.rb
pah-0.0.19 lib/pah/files/spec/support/random_timezone.rb
pah-0.0.17 lib/pah/files/spec/support/random_timezone.rb
pah-0.0.16 lib/pah/files/spec/support/random_timezone.rb