view test/models/tweet_test.rb @ 104:f2398d2a6859

Prefer .attrs to .to_hash
author nanaya <me@myconan.net>
date Mon, 26 Sep 2016 02:40:08 +0900
parents 157f7fd136fc
children
line wrap: on
line source

require "test_helper"

class TweetTest < ActiveSupport::TestCase
  test "loads a tweet" do
    assert_not_nil Tweet.new("edogawa_test")
  end
end