Sha256: 9b0ec15d53546bfb4353efe9eb598634c2f452e26b672161cced4733b895bb3a

Contents?: true

Size: 541 Bytes

Versions: 9

Compression:

Stored size: 541 Bytes

Contents

require "spec_helper"

RSpec.describe "suspenders:import_dump", type: :generator do
  it "generates the configuration for dump import from heroku" do
    rm "bin/import_dump"

    with_app { generate("suspenders:import_dump") }

    expect("bin/import_dump").to exist_as_a_file
    expect("bin/import_dump").to be_executable
  end

  it "destroys the configuration for dump import from heroku" do
    touch "bin/import_dump"

    with_app { destroy("suspenders:import_dump") }

    expect("bin/import_dump").not_to exist_as_a_file
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
welaika-suspenders-3.0 spec/features/import_dump_spec.rb
welaika-suspenders-2.36 spec/features/import_dump_spec.rb
welaika-suspenders-2.35 spec/features/import_dump_spec.rb
welaika-suspenders-2.34 spec/features/import_dump_spec.rb
welaika-suspenders-2.33 spec/features/import_dump_spec.rb
welaika-suspenders-2.32.2 spec/features/import_dump_spec.rb
welaika-suspenders-2.32.1 spec/features/import_dump_spec.rb
welaika-suspenders-2.32.0 spec/features/import_dump_spec.rb
welaika-suspenders-2.31.0 spec/features/import_dump_spec.rb