spec/lib/brief/repository_spec.rb in brief-1.10.0 vs spec/lib/brief/repository_spec.rb in brief-1.10.1
- old
+ new
@@ -45,10 +45,10 @@
expect(types.first).to eq("wireframe")
end
it "supports different operators" do
query = repository.where(:type.neq => "epic")
- expect(query.length).to eq(8)
+ expect(query.length).to be_greater_than(8)
end
it "limits the results to the specified size" do
query = repository.where(:type.neq => "epic").limit(3)
expect(query.length).to eq(3)