Open dmeehan1968 opened 10 years ago
expect( subject ).should.containString( value, options );
expect( subject ).should.beginWithString( value, options );
expect( subject ).should.endWithString( value, options );
expect( subject ).should.match( regexp, options );
expect( theBlock( {subject} ) ).should.change( [&]{ return object.value; }, delta);
Substring Matching
expect( subject ).should.containString( value, options );
expect( subject ).should.beginWithString( value, options );
expect( subject ).should.endWithString( value, options );
Regular Expressions
expect( subject ).should.match( regexp, options );
Count Changes
expect( theBlock( {subject} ) ).should.change( [&]{ return object.value; }, delta);