Sha256: 018ed82649caa67f65223b8ffd4ea9d26d663601d3c8217c38f054b41662c177

Contents?: true

Size: 364 Bytes

Versions: 8

Compression:

Stored size: 364 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_suspenders("--api")

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
suspenders-1.54.0 spec/features/api_spec.rb
suspenders-1.53.0 spec/features/api_spec.rb
suspenders-1.52.0 spec/features/api_spec.rb
suspenders-1.51.0 spec/features/api_spec.rb
suspenders-1.50.0 spec/features/api_spec.rb
suspenders-1.49.0 spec/features/api_spec.rb
suspenders-1.48.0 spec/features/api_spec.rb
suspenders-1.47.0 spec/features/api_spec.rb