Sha256: 3bb3d9b3b40671fe79feb240422b61575d8bf84ceae836c463b981b72912a4d4

Contents?: true

Size: 590 Bytes

Versions: 57

Compression:

Stored size: 590 Bytes

Contents

require "spec_helper"

describe "Dashboard", feature: true do

  describe "GET #{MOUNT_BOARD}" do
    # context 'without a password' do
    #   it 'is forbidden' do
    #     expect(HTTP.accept(:json).get("http://localhost:#{RequestHelpers::PORT}").status).to eq 401
    #   end
    # end

    context "with a password" do
      it "can be accessed" do
        expect(
            get(MOUNT_BOARD).status
        ).to eq 200
      end
    end

    it "has an HTML representation" do
      expect(
        get(MOUNT_BOARD, accept: 'html').status
      ).to eq 200
    end
  end # GET /

end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
rest-ftp-daemon-1.1.1 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.1.0 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.0.15 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.0.14 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.0.13 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.0.12 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.0.11 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.0.10 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.0.9 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.0.8 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.0.7 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.0.6 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.0.5 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.0.4 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.0.3 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.0.2 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-1.0.1 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-0.502.2 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-0.502.1 spec/rest-ftp-daemon/features/dashboard_spec.rb
rest-ftp-daemon-0.502.0 spec/rest-ftp-daemon/features/dashboard_spec.rb