Commit 576943c2 authored by Arturo Herrero's avatar Arturo Herrero

Faster spec using build instead of create

parent f9f7cbaa
......@@ -3,7 +3,7 @@
require 'spec_helper'
RSpec.describe JiraTrackerData do
let(:service) { create(:jira_service, active: false) }
let(:service) { build(:jira_service) }
describe 'Associations' do
it { is_expected.to belong_to(:service) }
......
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