Sha256: 0820adf9d17e3cb779bbd5e094bf5f289ef0752478ced27e698f0ef8775119cb

Contents?: true

Size: 304 Bytes

Versions: 7

Compression:

Stored size: 304 Bytes

Contents

require "spec_helper"

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

  def app
    Endpoints::<%= plural_class_name %>
  end

  describe "GET <%= url_path %>" do
    it "succeeds" do
      get "<%= url_path %>"
      last_response.status.should eq(200)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pliny-0.1.0 lib/pliny/templates/endpoint_test.erb
pliny-0.0.4 lib/pliny/templates/endpoint_test.erb
pliny-0.0.3 lib/pliny/templates/endpoint_test.erb
pliny-0.0.1 lib/pliny/templates/endpoint_test.erb
pliny-0.0.1.pre3 lib/pliny/templates/endpoint_test.erb
pliny-0.0.1.pre2 lib/pliny/templates/endpoint_test.erb
pliny-0.0.1.pre lib/pliny/templates/endpoint_test.erb