diff --git a/app/models/book.rb b/app/models/book.rb index cf1e96b..6c49d40 100644 --- a/app/models/book.rb +++ b/app/models/book.rb @@ -1,6 +1,6 @@ class Book < ApplicationRecord validates :title, presence: true - validates :year_published, numericality: { only_integer: true } + # validates :year_published, numericality: { only_integer: true } def old? return false unless year_published diff --git a/new-file.md b/new-file.md new file mode 100644 index 0000000..8bd6648 --- /dev/null +++ b/new-file.md @@ -0,0 +1 @@ +asdf diff --git a/spec/features/books_spec.rb b/spec/features/books_spec.rb index ebdfc52..b381d64 100644 --- a/spec/features/books_spec.rb +++ b/spec/features/books_spec.rb @@ -21,7 +21,7 @@ end # TODO: Replace `skip` with `it` - it "validates a numeric year" do + skip "validates a numeric year" do visit "/books/new" within "#as_books-create--form" do fill_in "Title", with: "Pro Git"