Sha256: 97034553e4cb619dd607bc0110371bc2fcf8ec227c92c166ba81add21f020721

Contents?: true

Size: 363 Bytes

Versions: 4

Compression:

Stored size: 363 Bytes

Contents

require "spec_helper"

RSpec.describe "Suspend a new project with --api flag" do
  before(:all) do
    drop_dummy_database
    remove_project_directory
  end

  it "ensures project specs pass" do
    run_bulldozer("--api")

    Dir.chdir(project_path) do
      Bundler.with_clean_env do
        expect(`rake`).to include("0 failures")
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bulldozer-1.6.3 spec/features/api_spec.rb
bulldozer-1.6.2 spec/features/api_spec.rb
bulldozer-1.6.1 spec/features/api_spec.rb
bulldozer-1.6.0 spec/features/api_spec.rb