annotate test/models/tweet_test.rb @ 48:8983c426e256

Prevent exploding on empty timeline.
author nanaya <me@myconan.net>
date Thu, 23 Apr 2015 16:14:35 +0900
parents 157f7fd136fc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
157f7fd136fc Double quotes everywhere.
edogawaconan <me@myconan.net>
parents: 15
diff changeset
1 require "test_helper"
15
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
2
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
3 class TweetTest < ActiveSupport::TestCase
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
4 test "loads a tweet" do
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
5 assert_not_nil Tweet.new("edogawa_test")
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
6 end
207917e41964 Add tweets~
edogawaconan <me@myconan.net>
parents:
diff changeset
7 end