spec/support/driver_indexes_collection.rb in baza-0.0.20 vs spec/support/driver_indexes_collection.rb in baza-0.0.21

- old
+ new

@@ -45,13 +45,13 @@ end.to raise_error(Baza::Errors::IndexNotFound) end describe "#unique?" do it "returns true when it is unique" do - test_table.index("email").unique?.should eq true + expect(test_table.index("email").unique?).to eq true end it "returns false when it isn't unique" do - test_table.index("text").unique?.should eq false + expect(test_table.index("text").unique?).to eq false end end end