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-1.1.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.1.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.0.15 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.0.14 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.0.13 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.0.12 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.0.11 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.0.10 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.0.9 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.0.8 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.0.7 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.0.6 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.0.5 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.0.4 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.0.3 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.0.2 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-1.0.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.502.2 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.502.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.502.0 spec/rest-ftp-daemon/features/status_spec.rb