Sha256: 9c770d6d95c76b0a9309d0ffea2ceaa6786118c0a40ca803b00ee4c8374bd551

Contents?: true

Size: 356 Bytes

Versions: 64

Compression:

Stored size: 356 Bytes

Contents

require "spec_helper"

describe "Status", feature: true do

  let!(:response) { get MOUNT_STATUS }

  describe "GET #{MOUNT_DEBUG}" do

    it "responds successfully" do
      expect(response.status).to eq 200
    end

    it "exposes properly formed JSON" do
      expect { JSON.parse(response.to_s) }.not_to raise_error
    end

  end # GET /status

end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
rest-ftp-daemon-0.501.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.435.2 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.435.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.435.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.434.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.433.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.432.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.430.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.430.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.424.3 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.424.2 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.424.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.423.3 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.423.2 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.423.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.423.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.422.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.421.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.421.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.420.2 spec/rest-ftp-daemon/features/status_spec.rb