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.420.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.410.5 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.410.4 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.410.2 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.410.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.410.0.pre.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.400.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.306.4 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.306.3 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.306.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.306.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.305.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.304.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.302.3 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.302.2 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.302.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.302.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.300.3 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.300.2 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.300.1 spec/rest-ftp-daemon/features/status_spec.rb