README.markdown in dm-rspec-0.0.1 vs README.markdown in dm-rspec-0.0.2

- old
+ new

@@ -22,12 +22,11 @@ * belong\_to * have\_many * have\_many\_and\_belong\_to * have\_property -* have\_errors\_on -* have\_error\_on +* have(n).errors_on(:property) ## Examples Assume you have the next models: @@ -61,19 +60,22 @@ specify {Author.should have_many :books} specify {Genre.should have_many_and_belong_to :books} specify {Books.should have_many_and_belong_to :genres} it 'has errors' do - book = Book.new + book = Book.new(:name => 'fails on two validations') book.valid? - book.should have_errors_on(:name) + book.should have(2).errors_on(:name) end ## TODO Implement the next matchers: -* have(n).errors\_on * have\_many(:models).through(:association) + +* have\_many(:models).through(:association) + +Implement matchers for validations. ## Contributing to dm-rspec * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet