earlymarket/CoPosition

View on GitHub
test/performance/serializing_test.rb

Summary

Maintainability
A
0 mins
Test Coverage
require "benchmark_helper"

class SerializingTest < ActionDispatch::PerformanceTest
  # Refer to the documentation for all available options
  # self.profile_options = { runs: 5, metrics: [:wall_time, :memory],
  #                          output: 'tmp/performance', formats: [:flat] }

  test "checkins_page" do
    dev = Developer.first
    user = dev.users.first

    get "/users/#{user.id}/checkins",
      as: "json",
      headers: { "X-Api-Key" => dev.api_key }
  end
end