Skip to content

Commit

Permalink
Remove test to validate coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
mmainz committed Aug 24, 2023
1 parent 509c750 commit cd1f785
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions spec/valued_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@

it 'has only the explicitly defined methods' do
expect(instance.public_methods(false)).to match_array(
%i[unit amount custom_method]
%i[unit amount custom_method],
)
end

it 'does not allow to set attributes' do
expect { instance.amount = 3 }.to raise_error(NoMethodError)
end

it 'does not allow mutation of values' do
expect { instance.unit.upcase! }.to raise_error(FrozenError)
end
Expand Down

0 comments on commit cd1f785

Please sign in to comment.