Skip to content

Commit

Permalink
Fix scope of has one relationship tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt committed Mar 19, 2024
1 parent 1700bab commit 5d72036
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/userlist/rails/transforms/user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@
end

context 'when it is a has one relationship' do
let(:user_model) { HasManyUsers::User }
let(:company_model) { HasManyUsers::Company }
let(:user_model) { HasOneCompany::User }
let(:company_model) { HasOneCompany::Company }

before do
user.company = company
Expand Down

0 comments on commit 5d72036

Please sign in to comment.