# frozen_string_literal: true

require "rails_helper"

RSpec.describe("clients/show", type: :view) do
  before do
    @client = assign(:client, create(:client))
  end

  it "renders attributes in <p>" do
    render
    expect(rendered).to(match(@client.ctoken))
    expect(rendered).to(match(@client.first_name))
    expect(rendered).to(match(@client.last_name))
  end
end
