Sha256: c4b0a2444259f00c3c697a6357374ebed127098e4c2bbfb72be9850eb8eb9930

Contents?: true

Size: 346 Bytes

Versions: 13

Compression:

Stored size: 346 Bytes

Contents

require "spec_helper"

describe "Status", feature: true do

  let!(:response) { get "/status" }

  describe "GET /status" 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

13 entries across 13 versions & 1 rubygems

Version Path
rest-ftp-daemon-0.247.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.247.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.246.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.246.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.245.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.245 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.243.2 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.243.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.243 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.242.5 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.242.4 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.242.3 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.242.2 spec/rest-ftp-daemon/features/status_spec.rb