Sha256: 3a2a16da0caf6bae8e758a89eebba31c0b4903ba934f9be11657cf779efc9649

Contents?: true

Size: 346 Bytes

Versions: 12

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

12 entries across 12 versions & 1 rubygems

Version Path
rest-ftp-daemon-0.242.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.242.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.241 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.240.2 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.240.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.240.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.231.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.231.0 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.230.3 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.230.2 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.230.1 spec/rest-ftp-daemon/features/status_spec.rb
rest-ftp-daemon-0.230.0 spec/rest-ftp-daemon/features/status_spec.rb