Sha256: b79a4b57bfa947ddf58e673ee1852430b4ef564a81cb7e8699d4d4c0bb47edba

Contents?: true

Size: 564 Bytes

Versions: 2

Compression:

Stored size: 564 Bytes

Contents

require "spec_helper"

RSpec.describe "suspenders:lint", type: :generator do
  it "sets up standard" do
    with_app { generate("suspenders:lint") }

    expect("Gemfile").to match_contents(/standard/)

    run_in_project do
      expect(`rake -T`).to include("rake standard")
    end
  end

  it "removes standard" do
    with_app do
      generate("suspenders:lint")
      destroy("suspenders:lint")
    end

    expect("Gemfile").not_to match_contents(/standard/)

    run_in_project do
      expect(`rake -T`).not_to include("rake standard")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
suspenders-1.55.1 spec/features/lint_spec.rb
suspenders-1.55.0 spec/features/lint_spec.rb