Sha256: 5fa0c10f0e6980a3d11f52a3ac36dffa59639fef76a743d0799a20432ce29a0e
Contents?: true
Size: 411 Bytes
Versions: 10
Compression:
Stored size: 411 Bytes
Contents
require "rspec/rails" require "ammeter/rspec/generator/example.rb" require "ammeter/rspec/generator/matchers.rb" require "ammeter/init" RSpec.configure do |config| config.before(:example, :generator) do fake_rails_root = File.expand_path("../../tmp", __dir__) allow(Rails).to receive(:root).and_return(Pathname.new(fake_rails_root)) destination fake_rails_root prepare_destination end end
Version data entries
10 entries across 10 versions & 2 rubygems