Commit a9338d88787f189d3a40ddf1855cfcefb628b831
1 parent
2e3381f8
Exists in
colab
and in
4 other branches
Fix wrong association to Project in ProjectAttributes
It doesn't work since Project is an entity from KalibroClient, not a normal ActiveRecord model.
Showing
2 changed files
with
1 additions
and
3 deletions
Show diff stats
app/models/project_attributes.rb
spec/models/project_attributes_spec.rb
| @@ -3,7 +3,6 @@ require 'rails_helper' | @@ -3,7 +3,6 @@ require 'rails_helper' | ||
| 3 | RSpec.describe ProjectAttributes, type: :model do | 3 | RSpec.describe ProjectAttributes, type: :model do |
| 4 | describe 'associations' do | 4 | describe 'associations' do |
| 5 | it { is_expected.to belong_to(:user) } | 5 | it { is_expected.to belong_to(:user) } |
| 6 | - it { is_expected.to belong_to(:project) } | ||
| 7 | end | 6 | end |
| 8 | 7 | ||
| 9 | describe 'methods' do | 8 | describe 'methods' do |