Sha256: a279a1db0cf26d7383fecad6ec91fefaed86b81412268016b834406b2ec4f82c

Contents?: true

Size: 250 Bytes

Versions: 20

Compression:

Stored size: 250 Bytes

Contents

require "spec_helper"

describe Endpoints::<%= plural_class_name %> do
  include Rack::Test::Methods

  describe "GET <%= url_path %>" do
    it "succeeds" do
      get "<%= url_path %>"
      assert_equal 200, last_response.status
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
pliny-0.13.0 lib/pliny/templates/endpoint_test.erb
pliny-0.12.0 lib/pliny/templates/endpoint_test.erb
pliny-0.11.2 lib/pliny/templates/endpoint_test.erb
pliny-0.11.1 lib/pliny/templates/endpoint_test.erb
pliny-0.11.0 lib/pliny/templates/endpoint_test.erb
pliny-0.10.0 lib/pliny/templates/endpoint_test.erb
pliny-0.9.2 lib/pliny/templates/endpoint_test.erb
pliny-0.9.1 lib/pliny/templates/endpoint_test.erb
pliny-0.9.0 lib/pliny/templates/endpoint_test.erb
pliny-0.8.2 lib/pliny/templates/endpoint_test.erb
pliny-0.8.1 lib/pliny/templates/endpoint_test.erb
pliny-0.8.0 lib/pliny/templates/endpoint_test.erb
pliny-0.7.3 lib/pliny/templates/endpoint_test.erb
pliny-0.7.2 lib/pliny/templates/endpoint_test.erb
pliny-0.7.1 lib/pliny/templates/endpoint_test.erb
pliny-0.7.0 lib/pliny/templates/endpoint_test.erb
pliny-0.6.3 lib/pliny/templates/endpoint_test.erb
pliny-0.6.2 lib/pliny/templates/endpoint_test.erb
pliny-0.6.1 lib/pliny/templates/endpoint_test.erb
pliny-0.6.0 lib/pliny/templates/endpoint_test.erb