spec/item/respond_to_spec.rb in lhs-3.0.3 vs spec/item/respond_to_spec.rb in lhs-3.0.4
- old
+ new
@@ -1,9 +1,9 @@
require 'rails_helper'
describe LHS::Item do
let(:item){
- described_class.new(id: 1234)
+ LHS::Item.new(id: 1234)
}
context '#respond_to?' do
it 'is true for setters' do
expect(item.respond_to?(:id=)).to be(true)