Skip to content

Commit

Permalink
Fixed template visibility tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminfaure committed Jun 7, 2022
1 parent b5656fd commit 1eec4f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/models/template_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,7 @@
end

it 'sets visibility to Organisationally visible' do
expect(subject.visibility).to eql('organisationally_visible')
expect(subject.visibility).to eql(Template.visibilities['organisationally_visible'])
end

it 'sets is_default to false' do
Expand Down Expand Up @@ -1149,7 +1149,7 @@
end

it 'sets the visibility to Organisationally visible' do
expect(subject.visibility).to eql('organisationally_visible')
expect(subject.visibility).to eql(Template.visibilities['organisationally_visible'])
end

it 'sets is_default to false' do
Expand Down

0 comments on commit 1eec4f5

Please sign in to comment.