Code Coverage with SimpleCov and RailsBytes Discussion
Discussion for
Code Coverage with SimpleCov and RailsBytes
Hi - Simplecov shows that three lines are missing. I don't know what wrong with it. Please have a look at once and let me know your thoughts. sorry - can't add an attachment.
require 'test_helper'
1class GifTest < ActiveSupport::TestCase
1 test "gif_must_be_assigned_to_user" do
gif = Gif.new(name: "Family")
gif.valid?
refute_empty gif.errors[:user]
end
end