Skip to content

Commit

Permalink
Remove warning messages
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros committed Jul 1, 2016
1 parent bc841d9 commit cda08c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ group :local_development do
gem 'guard-rspec'
gem 'appraisal'
gem 'rake'
gem 'byebug' , platform: :mri_21
gem 'byebug' , platforms: [:mri_21, :mri_22, :mri_23]
end
2 changes: 1 addition & 1 deletion spec/acts_as_taggable_on/acts_as_tagger_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
expect(@taggable.tag_list_on(:foo_boo)).to be_empty
expect(-> {
@tagger.tag(@taggable, with: 'this, and, that', on: :foo_boo, force: false)
}).to raise_error
}).to raise_error(RuntimeError)
end

it 'should not create the tag context on-the-fly when the default is over-ridden' do
Expand Down
2 changes: 1 addition & 1 deletion spec/acts_as_taggable_on/tag_list_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@

it 'should be able to call to_s on a frozen tag list' do
tag_list.freeze
expect(-> { tag_list.add('cool', 'rad,bodacious') }).to raise_error
expect(-> { tag_list.add('cool', 'rad,bodacious') }).to raise_error(RuntimeError)
expect(-> { tag_list.to_s }).to_not raise_error
end
end
Expand Down

0 comments on commit cda08c7

Please sign in to comment.