Sha256: 8d1fbb1c2c596dc68f366417bfa23108963f3e33b3e5af96d6849079404622d8

Contents?: true

Size: 169 Bytes

Versions: 60

Compression:

Stored size: 169 Bytes

Contents

# frozen_string_literal: true

RSpec.configure do |config|
  config.around :example, :tz do |example|
    Time.use_zone(example.metadata[:tz]) { example.run }
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
decidim-dev-0.29.1 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.28.4 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.27.9 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.29.0 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.28.3 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.27.8 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.29.0.rc4 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.29.0.rc3 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.29.0.rc2 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.29.0.rc1 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.28.2 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.27.7 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.28.1 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.27.6 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.26.10 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.26.9 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.28.0 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.27.5 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.28.0.rc5 lib/decidim/dev/test/rspec_support/timezone.rb
decidim-dev-0.28.0.rc4 lib/decidim/dev/test/rspec_support/timezone.rb