Commit 170e5423 authored by Shinya Maeda's avatar Shinya Maeda

Fix deployment_entity_spec.rb. It also reads BuildSerializer.

parent 21e62c9e
require 'spec_helper' require 'spec_helper'
describe DeploymentEntity do describe DeploymentEntity do
let(:user) { create(:user) }
let(:request) { double('request') }
before do
allow(request).to receive(:user).and_return(user)
end
let(:entity) do let(:entity) do
described_class.new(deployment, request: double) described_class.new(deployment, request: request)
end end
let(:deployment) { create(:deployment) } let(:deployment) { create(:deployment) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment