spec/findable/base_spec.rb in findable-0.2.1 vs spec/findable/base_spec.rb in findable-0.2.2

- old
+ new

@@ -123,14 +123,14 @@ } end # Private instance methods describe "#attribute=" do - before { instance.send(:attribute=, :example, "value") } - it { expect(instance.attributes[:example]).to eq("value") } + before { instance.send(:attribute=, :name, "value") } + it { expect(instance.attributes[:name]).to eq("value") } end describe "#attribute?" do - before { instance.send(:attribute=, :example, "value") } - it { expect(instance.send(:attribute?, :example)).to be_truthy } + before { instance.send(:attribute=, :name, "value") } + it { expect(instance.send(:attribute?, :name)).to be_truthy } end end