Sha256: 09015d41d4ac1c26fccf231fbd8ed0d8d783c73d5b604a257deb36ec3284747b

Contents?: true

Size: 299 Bytes

Versions: 11

Compression:

Stored size: 299 Bytes

Contents

require "ammeter/init"

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

    destination fake_rails_root
    prepare_destination
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
fx-0.7.0 spec/support/generator_setup.rb
fx-jets-0.6.3s spec/support/generator_setup.rb
fx-0.6.2 spec/support/generator_setup.rb
fx-0.6.1 spec/support/generator_setup.rb
fx-0.6.0 spec/support/generator_setup.rb
fx-0.5.0 spec/support/generator_setup.rb
fx-0.4.0 spec/support/generator_setup.rb
fx-0.3.1 spec/support/generator_setup.rb
fx-0.3.0 spec/support/generator_setup.rb
fx-0.2.0 spec/support/generator_setup.rb
fx-0.1.0 spec/support/generator_setup.rb