Commit a43a605b authored by Gabriel Mazetto's avatar Gabriel Mazetto

Fix specs and factories

parent 5da5ed42
FactoryGirl.define do
factory :geo_event_log_state, class: Geo::EventLogState do
sequence(:event_id)
end
end
......@@ -2,6 +2,6 @@ require 'spec_helper'
RSpec.describe Geo::EventLogState, type: :model do
describe 'validations' do
it { is_expected.to validate_presence_of(:project) }
it { is_expected.to validate_presence_of(:event_id) }
end
end
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