Sha256: 9c5adb3806e083f1c4d003e9c24ded8ce84ceaf4a651a3b6cfdf81f754aab485
Contents?: true
Size: 365 Bytes
Versions: 3
Compression:
Stored size: 365 Bytes
Contents
require "rails_finder" require "fileutils" require "tmpdir" RSpec.configure do |config| def with_dir Dir.mktmpdir("rails_version-spec") do |dir| FileUtils.mkdir_p(File.join(dir, "config")) yield dir end end def gemfile(dir) File.join(dir, "Gemfile") end def envfile(dir) File.join(dir, "config", "environment.rb") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails_finder-0.0.3 | spec/spec_helper.rb |
rails_finder-0.0.2 | spec/spec_helper.rb |
rails_finder-0.0.1 | spec/spec_helper.rb |