Sha256: 23303964962058c9d08ae26d9dff81338a70b40c9e278ff4c79eddcdeb7d42e5
Contents?: true
Size: 357 Bytes
Versions: 1
Compression:
Stored size: 357 Bytes
Contents
RSpec.configure do |config| config.before(:each, :force_config_file_reload) do config_path = Rails.root.join("config", "attr_masker.rb").to_s # $" holds names of source files which have been loaded already. # Removing a path from that list causes given file to be loaded # again at next #require call. $".delete(config_path) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
attr_masker-0.3.1 | spec/support/force_config_file_reload.rb |