diff --git a/.streerc b/.streerc new file mode 100644 index 0000000..f8bee31 --- /dev/null +++ b/.streerc @@ -0,0 +1 @@ +--print-width=100 diff --git a/test/test_model.rb b/test/test_model.rb index 2e55ab9..2b51d02 100644 --- a/test/test_model.rb +++ b/test/test_model.rb @@ -593,7 +593,8 @@ def create_comments_and_destroy_post end test "has_hoardable_rich_text works" do - profile = Profile.create!(user: user, email: "email@example.com", life_story: "
woke up
") + profile = + Profile.create!(user: user, email: "email@example.com", life_story: "
woke up
") datetime = DateTime.now profile.update!(life_story: "
went to sleep
") assert_equal "woke up", profile.at(datetime).life_story.to_plain_text @@ -601,7 +602,8 @@ def create_comments_and_destroy_post if SUPPORTS_ENCRYPTED_ACTION_TEXT test "has_hoardable_rich_text works for encrypted rich text" do - profile = Profile.create!(user: user, email: "email@example.com", diary: "
i'm happy
") + profile = + Profile.create!(user: user, email: "email@example.com", diary: "
i'm happy
") datetime = DateTime.now profile.update!(diary: "
i'm sad
") assert_equal "i'm happy", profile.at(datetime).diary.to_plain_text