Commit a43a605b authored by Gabriel Mazetto's avatar Gabriel Mazetto

Fix specs and factories

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