Sha256: 57eabc9f7c7088add6cc07a8e0e8732537a5c2631251f697eccccf758e13e48d

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

require "ammeter/init"

RSpec.configure do |config|
  config.before(:each, :generator) do
    fake_rails_root = File.expand_path("../../../tmp/dummy", __FILE__)
    allow(Rails).to receive(:root).and_return(Pathname.new(fake_rails_root))

    destination fake_rails_root
    prepare_destination
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fx-0.9.0 spec/support/generator_setup.rb
fx-0.8.0 spec/support/generator_setup.rb