test/pocket/article_test.rb in pocket-ruby-0.5.0 vs test/pocket/article_test.rb in pocket-ruby-0.6.0

- old
+ new

@@ -1,9 +1,9 @@ require "test_helper" module Pocket - class ArticleTest < Test::Unit::TestCase + class ArticleTest < ActiveSupport::TestCase setup do @article = Pocket::Article.new(parsed_response) end test "from_json" do @@ -49,10 +49,10 @@ test "status" do assert_equal 0, @article.status end test "excerpt" do - assert_include @article.excerpt, "list of things" + assert_includes @article.excerpt, "list of things" end test "excerpt is nil if field not present" do parsed_response.delete("excerpt") assert_nil @article.excerpt