spec/lib/result_iterator_spec.rb in flexirest-1.7.4 vs spec/lib/result_iterator_spec.rb in flexirest-1.7.5

- old
+ new

@@ -32,9 +32,16 @@ result << "a" result << "z" expect(result.first).to eq("a") end + it "should implement join" do + result = Flexirest::ResultIterator.new + result << "a" + result << "z" + expect(result.join(",")).to eq("a,z") + end + it "should implement any?" do result = Flexirest::ResultIterator.new expect(result.any?).to be_falsey result << "a" expect(result.any?).to be_truthy